aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorlloyd <[email protected]>2006-12-09 10:11:34 +0000
committerlloyd <[email protected]>2006-12-09 10:11:34 +0000
commit9fbe69a89f791699bdef6383b10f38fba599e673 (patch)
treeb50e8a3fecc21bc237762c60f6dc3ab96c91ef20 /modules
parent66906872d8f1413cdb05a94a3ce20592fb0fe8c6 (diff)
Update some modules which were never changed to use Allocator::get instead
of get_allocator()
Diffstat (limited to 'modules')
-rw-r--r--modules/comp_bzip2/bzip2.cpp2
-rw-r--r--modules/comp_zlib/zlib.cpp2
-rw-r--r--modules/eng_gmp/gmp_mem.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/modules/comp_bzip2/bzip2.cpp b/modules/comp_bzip2/bzip2.cpp
index e5934b635..a29c33598 100644
--- a/modules/comp_bzip2/bzip2.cpp
+++ b/modules/comp_bzip2/bzip2.cpp
@@ -22,7 +22,7 @@ class Bzip_Alloc_Info
std::map<void*, u32bit> current_allocs;
Allocator* alloc;
- Bzip_Alloc_Info() { alloc = get_allocator(); }
+ Bzip_Alloc_Info() { alloc = Allocator::get(false); }
};
/*************************************************
diff --git a/modules/comp_zlib/zlib.cpp b/modules/comp_zlib/zlib.cpp
index 8bbafcea2..a1e05453d 100644
--- a/modules/comp_zlib/zlib.cpp
+++ b/modules/comp_zlib/zlib.cpp
@@ -21,7 +21,7 @@ class Zlib_Alloc_Info
std::map<void*, u32bit> current_allocs;
Allocator* alloc;
- Zlib_Alloc_Info() { alloc = get_allocator(); }
+ Zlib_Alloc_Info() { alloc = Allocator::get(false); }
};
/*************************************************
diff --git a/modules/eng_gmp/gmp_mem.cpp b/modules/eng_gmp/gmp_mem.cpp
index 1919c39e1..4c0b5d85a 100644
--- a/modules/eng_gmp/gmp_mem.cpp
+++ b/modules/eng_gmp/gmp_mem.cpp
@@ -52,7 +52,7 @@ void GMP_Engine::set_memory_hooks()
{
if(gmp_alloc == 0)
{
- gmp_alloc = get_allocator();
+ gmp_alloc = Allocator::get(true);
mp_set_memory_functions(gmp_malloc, gmp_realloc, gmp_free);
}
}