From f5970e2fcacf5e317ce7c5bae6266c59256eb58b Mon Sep 17 00:00:00 2001 From: alexpeshkoff Date: Wed, 24 Mar 2010 12:11:59 +0000 Subject: [PATCH] Cleanup SUPERCLIENT - always use same method to get automatic pool --- src/common/classes/alloc.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/common/classes/alloc.cpp b/src/common/classes/alloc.cpp index a029b0a772..ca43e4de9a 100644 --- a/src/common/classes/alloc.cpp +++ b/src/common/classes/alloc.cpp @@ -1077,15 +1077,12 @@ MemoryPool* MemoryPool::getContextPool() MemoryPool& AutoStorage::getAutoMemoryPool() { -#ifndef SUPERCLIENT MemoryPool* p = MemoryPool::getContextPool(); if (! p) { p = getDefaultMemoryPool(); } -#else //SUPERCLIENT - MemoryPool* p = getDefaultMemoryPool(); -#endif //SUPERCLIENT + fb_assert(p); return *p; }