Added back the inline static for cpp >= 17
This commit is contained in:
parent
92ba5f6036
commit
503d365869
1 changed files with 2 additions and 2 deletions
|
|
@ -60,7 +60,7 @@ private:
|
|||
};
|
||||
std::atomic<int> count { 0 };
|
||||
};
|
||||
static ObjectCounter objectCounter;
|
||||
inline static ObjectCounter objectCounter;
|
||||
};
|
||||
|
||||
#ifndef NDEBUG
|
||||
|
|
@ -74,4 +74,4 @@ private:
|
|||
|
||||
#else
|
||||
#define LEAK_DETECTOR(Class)
|
||||
#endif
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue