ByteBuffer: Fixed optimization failures with threading checks.

master
madmaxoft 2013-12-05 10:33:26 +01:00
parent fb2df44458
commit 321b259213
1 changed files with 1 additions and 1 deletions

View File

@ -123,7 +123,7 @@ protected:
int m_BufferSize; // Total size of the ringbuffer int m_BufferSize; // Total size of the ringbuffer
#ifdef _DEBUG #ifdef _DEBUG
unsigned long m_ThreadID; // Thread that is currently accessing the object, checked via cSingleThreadAccessChecker volatile unsigned long m_ThreadID; // Thread that is currently accessing the object, checked via cSingleThreadAccessChecker
#endif // _DEBUG #endif // _DEBUG
int m_DataStart; // Where the data starts in the ringbuffer int m_DataStart; // Where the data starts in the ringbuffer