mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-17 21:25:40 +00:00
(svn r10752) -Fix: apparantly const on function pointers is ignored.
This commit is contained in:
parent
9458905e4c
commit
3172f3461d
@ -34,9 +34,9 @@ protected:
|
|||||||
const uint item_size; ///< How many bytes one block is
|
const uint item_size; ///< How many bytes one block is
|
||||||
|
|
||||||
/// Pointer to a function that is called after a new block is added
|
/// 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
|
/// 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 current_blocks; ///< How many blocks we have in our pool
|
||||||
uint total_items; ///< How many items we now have in this pool
|
uint total_items; ///< How many items we now have in this pool
|
||||||
|
Loading…
Reference in New Issue
Block a user