Changeset - r7383:a4c6808b1b4f
[Not reviewed]
master
0 1 0
rubidium - 17 years ago 2007-08-02 13:18:57
rubidium@openttd.org
(svn r10752) -Fix: apparantly const on function pointers is ignored.
1 file changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
src/oldpool.h
Show inline comments
 
@@ -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
0 comments (0 inline, 0 general)