Packets: Fix VariantParser invalid parser access bug
[senf.git] / Utils / pool_alloc_mixin.hh
index 642e476..2cdfe5e 100644 (file)
@@ -23,8 +23,8 @@
 /** \file
     \brief pool_alloc_mixin public header */
 
-#ifndef HH_pool_alloc_mixin_
-#define HH_pool_alloc_mixin_ 1
+#ifndef HH_SENF_Utils_pool_alloc_mixin_
+#define HH_SENF_Utils_pool_alloc_mixin_ 1
 
 // Custom includes
 #include <boost/pool/singleton_pool.hpp>
@@ -84,7 +84,7 @@ namespace senf {
         static void operator delete (void *p, size_t size);
                                         ///< Operator delete utilizing pool allocation
 
-#ifndef SENF_NO_DEBUG
+#ifdef SENF_DEBUG
         static unsigned long allocCounter();
     private:
         static unsigned long allocCounter(long delta);