Merge branch 'hotfix/leak-detector-cpp14'
This commit is contained in:
commit
92ba5f6036
1 changed files with 5 additions and 0 deletions
|
|
@ -25,6 +25,7 @@
|
||||||
#include <atomic>
|
#include <atomic>
|
||||||
#include "Debug.h"
|
#include "Debug.h"
|
||||||
|
|
||||||
|
#if __cplusplus >= 201703L
|
||||||
template <class Owner>
|
template <class Owner>
|
||||||
class LeakDetector {
|
class LeakDetector {
|
||||||
public:
|
public:
|
||||||
|
|
@ -70,3 +71,7 @@ private:
|
||||||
#else
|
#else
|
||||||
#define LEAK_DETECTOR(Class)
|
#define LEAK_DETECTOR(Class)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#else
|
||||||
|
#define LEAK_DETECTOR(Class)
|
||||||
|
#endif
|
||||||
Loading…
Add table
Reference in a new issue