aboutsummaryrefslogtreecommitdiffstats
path: root/src/mem_pool.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2006-07-01 21:09:54 +0000
committerlloyd <[email protected]>2006-07-01 21:09:54 +0000
commit6d3a4de1efcb6b04a1ab87037d487f979d7ca445 (patch)
tree02342b193a3808d2010b441480f65aa45a23dc92 /src/mem_pool.cpp
parent3d1d14cf405111e30643cf4c7674d441cc07a2e0 (diff)
Access the global configuration through an object reference instead
of stand-alone functions. Store the configuration in a distinct object, rather than just a map inside the library state.
Diffstat (limited to 'src/mem_pool.cpp')
-rw-r--r--src/mem_pool.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mem_pool.cpp b/src/mem_pool.cpp
index 8658fa2df..00a9f2d06 100644
--- a/src/mem_pool.cpp
+++ b/src/mem_pool.cpp
@@ -22,7 +22,7 @@ u32bit choose_pref_size(u32bit provided)
if(provided)
return provided;
- u32bit result = Config::get_u32bit("base/memory_chunk");
+ u32bit result = global_config().option_as_u32bit("base/memory_chunk");
if(result)
return result;