mirror of
https://github.com/bkaradzic/bx.git
synced 2026-02-18 04:53:06 +01:00
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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user