(svn r10752) -Fix: apparantly const on function pointers is ignored.
authorrubidium
Thu, 02 Aug 2007 13:18:57 +0000
changeset 7383 864c7b8e1c52
parent 7382 721b2d81ce91
child 7384 353183a5cd3a
(svn r10752) -Fix: apparantly const on function pointers is ignored.
src/oldpool.h
--- a/src/oldpool.h	Thu Aug 02 12:51:57 2007 +0000
+++ b/src/oldpool.h	Thu Aug 02 13:18:57 2007 +0000
@@ -34,9 +34,9 @@
 	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