From a03547dc8ec08d6497cade6a39808cd411ac3af9 Mon Sep 17 00:00:00 2001 From: Torbjörn Andersson Date: Sun, 30 Mar 2008 18:53:16 +0000 Subject: Some minor whitespace changes, and the customary "end of namespace" comment. svn-id: r31338 --- common/memorypool.cpp | 23 +++++++++++------------ common/memorypool.h | 8 +++----- 2 files changed, 14 insertions(+), 17 deletions(-) (limited to 'common') diff --git a/common/memorypool.cpp b/common/memorypool.cpp index 6eab758c11..b5daeee496 100644 --- a/common/memorypool.cpp +++ b/common/memorypool.cpp @@ -26,8 +26,7 @@ #include "common/memorypool.h" #include "common/util.h" -namespace Common -{ +namespace Common { static const size_t CHUNK_PAGE_SIZE = 32; @@ -35,7 +34,7 @@ void* MemoryPool::allocPage() { void* result = ::malloc(CHUNK_PAGE_SIZE * _chunkSize); _pages.push_back(result); void* current = result; - for(size_t i=1; i numberOfFreeChunksPerPage; numberOfFreeChunksPerPage.resize(_pages.size()); - for(size_t i=0; i