diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/comp_bzip2/bzip2.cpp | 2 | ||||
-rw-r--r-- | modules/comp_zlib/zlib.cpp | 2 | ||||
-rw-r--r-- | modules/eng_gmp/gmp_mem.cpp | 2 |
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); } } |