X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Utils%2Fpool_alloc_mixin.hh;h=2cdfe5ed12e3f8c6201b54fc0d5e7f9903aebb8d;hb=81f84badf27b66dbadec9890646ca1193e998505;hp=3af419aadf9a9f1654a2131f3b8fa1c93d37b522;hpb=51044eb18f034c1a059ffe2fb109a422c1cbe251;p=senf.git diff --git a/Utils/pool_alloc_mixin.hh b/Utils/pool_alloc_mixin.hh index 3af419a..2cdfe5e 100644 --- a/Utils/pool_alloc_mixin.hh +++ b/Utils/pool_alloc_mixin.hh @@ -1,8 +1,8 @@ // $Id$ // -// Copyright (C) 2007 -// Fraunhofer Institute for Open Communication Systems (FOKUS) -// Competence Center NETwork research (NET), St. Augustin, GERMANY +// Copyright (C) 2007 +// Fraunhofer Institute for Open Communication Systems (FOKUS) +// Competence Center NETwork research (NET), St. Augustin, GERMANY // Stefan Bund // // This program is free software; you can redistribute it and/or modify @@ -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 @@ -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);