The unified diff between revisions [f640991b..] and [58c8bf4a..] is displayed below. It can also be downloaded as a raw diff.
This diff has been restricted to the following files: 'include/mem_pool.h'
#
#
# patch "include/mem_pool.h"
# from [aacea301ff4cb684b02ff45859ea2235ca9f8ef3]
# to [9774f7b2377e171ed9514eece50d9e06ea0e294c]
#
============================================================
--- include/mem_pool.h aacea301ff4cb684b02ff45859ea2235ca9f8ef3
+++ include/mem_pool.h 9774f7b2377e171ed9514eece50d9e06ea0e294c
@@ -25,7 +25,7 @@ class Pooling_Allocator : public Allocat
void destroy();
- Pooling_Allocator(u32bit, bool);
+ Pooling_Allocator();
~Pooling_Allocator();
private:
void get_more_core(u32bit);
@@ -61,7 +61,7 @@ class Pooling_Allocator : public Allocat
byte* buffer, *buffer_end;
};
- const u32bit PREF_SIZE;
+ static const u32bit PREF_SIZE = BOTAN_MEM_POOL_CHUNK_SIZE;
std::vector<Memory_Block> blocks;
std::vector<Memory_Block>::iterator last_used;