Whitespacing fixes

svn-id: r31330
This commit is contained in:
Bertrand Augereau 2008-03-30 14:07:34 +00:00
parent a51c2657b6
commit 5f3529ce78
3 changed files with 81 additions and 82 deletions

View file

@ -35,8 +35,7 @@ void* MemoryPool::allocPage() {
void* result = ::malloc(CHUNK_PAGE_SIZE * _chunkSize);
_pages.push_back(result);
void* current = result;
for(size_t i=1; i<CHUNK_PAGE_SIZE; ++i)
{
for(size_t i=1; i<CHUNK_PAGE_SIZE; ++i) {
void* next = ((char*)current + _chunkSize);
*(void**)current = next;

View file

@ -26,7 +26,7 @@
#ifndef COMMON_MEMORYPOOL_H
#define COMMON_MEMORYPOOL_H
#include <string.h>
#include "common/scummsys.h"
#include "common/array.h"
namespace Common