From 423f49d175d8db6283232bd8bdc106e26bdcff4d Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Thu, 16 Feb 2012 13:42:35 +0000 Subject: Chunk is now marked as dirty; saving only dirty chunks; rewritten load / save not to use cChunkPtr; set VC2008 project to level4 warnings; block entities are now loaded and saved properly git-svn-id: http://mc-server.googlecode.com/svn/trunk@273 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/cCriticalSection.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'source/cCriticalSection.h') diff --git a/source/cCriticalSection.h b/source/cCriticalSection.h index 8faa04765..414c970f7 100644 --- a/source/cCriticalSection.h +++ b/source/cCriticalSection.h @@ -45,6 +45,9 @@ public: // Temporarily unlock or re-lock: void Lock(void); void Unlock(void); + +private: + DISALLOW_COPY_AND_ASSIGN(cCSLock); } ; @@ -58,6 +61,9 @@ class cCSUnlock public: cCSUnlock(cCSLock & a_Lock); ~cCSUnlock(); + +private: + DISALLOW_COPY_AND_ASSIGN(cCSUnlock); } ; -- cgit v1.2.3