Fix for MSVC warning

MSVC warning C4512: 'bx::RingBufferControl' : assignment operator could
not be generated
MSVC warning C4512: 'bx::SpScRingBufferControl' : assignment operator
could not be generated
This commit is contained in:
Garett Bass
2013-02-12 22:50:00 -08:00
parent 68124f49e5
commit 6b099ca5bc

View File

@@ -82,6 +82,10 @@ namespace bx
uint32_t m_current;
uint32_t m_write;
uint32_t m_read;
private:
RingBufferControl(const RingBufferControl&);
void operator=(const RingBufferControl&);
};
class SpScRingBufferControl
@@ -158,6 +162,10 @@ namespace bx
uint32_t m_current;
uint32_t m_write;
uint32_t m_read;
private:
SpScRingBufferControl(const SpScRingBufferControl&);
void operator=(const SpScRingBufferControl&);
};
template <typename Control>