Const-correct SharedBuffer::SharedBuffer(const T *t, unsigned int size)
parent
eca1c96412
commit
5bd638d4a5
|
@ -222,7 +222,7 @@ public:
|
||||||
/*
|
/*
|
||||||
Copies whole buffer
|
Copies whole buffer
|
||||||
*/
|
*/
|
||||||
SharedBuffer(T *t, unsigned int size)
|
SharedBuffer(const T *t, unsigned int size)
|
||||||
{
|
{
|
||||||
m_size = size;
|
m_size = size;
|
||||||
if(m_size != 0)
|
if(m_size != 0)
|
||||||
|
|
Loading…
Reference in New Issue