summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-08-02 13:18:57 +0000
committerrubidium <rubidium@openttd.org>2007-08-02 13:18:57 +0000
commit7ecd937e74b48bebce8fd20e744c4157de237110 (patch)
treed7937ea87d8306f925834709832adad50a52aee0 /src
parent87ad3df2844f9048d510cdecb0bd1e09aa2a508d (diff)
downloadopenttd-7ecd937e74b48bebce8fd20e744c4157de237110.tar.xz
(svn r10752) -Fix: apparantly const on function pointers is ignored.
Diffstat (limited to 'src')
-rw-r--r--src/oldpool.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/oldpool.h b/src/oldpool.h
index 37154897e..6157ddded 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