[DEV] build with etk memory log

This commit is contained in:
Edouard DUPIN 2018-10-09 23:03:07 +02:00
parent 4fdacb9294
commit 0f2e11e735

View File

@ -14,7 +14,11 @@ namespace ememory {
* @brief Use the element as a refcounted element * @brief Use the element as a refcounted element
*/ */
class RefCounter { class RefCounter {
protected: #ifndef ETK_MEMORY_CHECKER
protected:
#else
public:
#endif
// Virtualize destructor in private to prevent user ot remove it without permition // Virtualize destructor in private to prevent user ot remove it without permition
virtual ~RefCounter(); virtual ~RefCounter();
private: private: