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