Merge pull request #2 from paulfd/master

Removed the LeakDetector so that it's only active for c++17 and above using static inlines
This commit is contained in:
Paul Ferrand 2019-09-22 16:13:49 +02:00 committed by GitHub
commit cf2bce36f1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -25,6 +25,7 @@
#include <atomic>
#include "Debug.h"
#if __cplusplus >= 201703L
template <class Owner>
class LeakDetector {
public:
@ -70,3 +71,7 @@ private:
#else
#define LEAK_DETECTOR(Class)
#endif
#else
#define LEAK_DETECTOR(Class)
#endif