From 3172f3461debdcbf3db861278cb66485b3b65d26 Mon Sep 17 00:00:00 2001 From: rubidium Date: Thu, 2 Aug 2007 13:18:57 +0000 Subject: [PATCH] (svn r10752) -Fix: apparantly const on function pointers is ignored. --- src/oldpool.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/oldpool.h b/src/oldpool.h index 37154897e1..6157dddede 100644 --- a/src/oldpool.h +++ b/src/oldpool.h @@ -34,9 +34,9 @@ protected: const uint item_size; ///< How many bytes one block is /// Pointer to a function that is called after a new block is added - const OldMemoryPoolNewBlock *new_block_proc; + OldMemoryPoolNewBlock *new_block_proc; /// Pointer to a function that is called to clean a block - const OldMemoryPoolCleanBlock *clean_block_proc; + OldMemoryPoolCleanBlock *clean_block_proc; uint current_blocks; ///< How many blocks we have in our pool uint total_items; ///< How many items we now have in this pool