Added back the inline static for cpp >= 17

This commit is contained in:
Paul Ferrand 2019-09-23 10:23:24 +02:00 committed by paulfd
parent 4abb6f8f90
commit af237dc2f4

View file

@ -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