From 25b822b1c748a2d4478f4e1296100b1ef1750178 Mon Sep 17 00:00:00 2001 From: Leonardo de Moura Date: Sat, 7 Jun 2014 13:29:45 -0700 Subject: [PATCH] fix(tests/util/memory): remove reference to deleted function Signed-off-by: Leonardo de Moura --- src/tests/util/memory.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/tests/util/memory.cpp b/src/tests/util/memory.cpp index e63387a11..ec47a6858 100644 --- a/src/tests/util/memory.cpp +++ b/src/tests/util/memory.cpp @@ -20,10 +20,6 @@ static void tst1() { a = static_cast(lean::realloc(a, N * 2 * sizeof(N))); lean_assert(lean::get_allocated_memory() >= old_mem + N * 2 * sizeof(N)); std::cout << "Total: " << static_cast(lean::get_allocated_memory()) << "\n"; -#if !defined(HAS_TCMALLOC) && !defined(LEAN_USE_BOOST) - // When TCMALLOC is used, there is a problem during initialization, and the value of get_thread_allocated_memory is off. - lean_assert_eq(lean::get_allocated_memory(), static_cast(lean::get_thread_allocated_memory())); -#endif for (int i = 0; i < N; i++) { lean_assert(a[i] == i); }