aboutsummaryrefslogtreecommitdiffstats
path: root/modules/eng_gmp/gmp_mem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/eng_gmp/gmp_mem.cpp')
-rw-r--r--modules/eng_gmp/gmp_mem.cpp2
1 files changed, 1 insertions, 1 deletions
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);
}
}