Applied cppcoreguidelines-avoid-non-const-global-variables clang-tidy fixes

This commit is contained in:
Bartek Kryza
2022-12-20 23:28:10 +01:00
parent 09d60a9d07
commit a626bed328
3 changed files with 1 additions and 5 deletions

View File

@@ -24,8 +24,6 @@
namespace clanguml::common::model {
std::atomic_uint64_t diagram_element::m_nextId = 1;
diagram_element::diagram_element() = default;
diagram_element::id_t diagram_element::id() const { return id_; }

View File

@@ -82,7 +82,5 @@ private:
std::vector<relationship> relationships_;
bool nested_{false};
bool complete_{false};
static std::atomic_uint64_t m_nextId;
};
} // namespace clanguml::common::model

View File

@@ -42,7 +42,7 @@
#ifndef NDEBUG
namespace backward {
backward::SignalHandling sh;
backward::SignalHandling sh; // NOLINT
} // namespace backward
#endif