Applied cppcoreguidelines-avoid-non-const-global-variables clang-tidy fixes
This commit is contained in:
@@ -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_; }
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -42,7 +42,7 @@
|
||||
|
||||
#ifndef NDEBUG
|
||||
namespace backward {
|
||||
backward::SignalHandling sh;
|
||||
backward::SignalHandling sh; // NOLINT
|
||||
} // namespace backward
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user