diff options
author | rubidium <rubidium@openttd.org> | 2007-08-02 13:18:57 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-08-02 13:18:57 +0000 |
commit | 3172f3461debdcbf3db861278cb66485b3b65d26 (patch) | |
tree | d7937ea87d8306f925834709832adad50a52aee0 /src/oldpool.h | |
parent | 9458905e4c3c638d9d1cbba3fb33108bd41e4ab5 (diff) | |
download | openttd-3172f3461debdcbf3db861278cb66485b3b65d26.tar.xz |
(svn r10752) -Fix: apparantly const on function pointers is ignored.
Diffstat (limited to 'src/oldpool.h')
-rw-r--r-- | src/oldpool.h | 4 |
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 |