Const-correct SharedBuffer::SharedBuffer(const T *t, unsigned int size)

This commit is contained in:
Perttu Ahola 2012-11-26 11:39:52 +02:00
parent eca1c96412
commit 5bd638d4a5
1 changed files with 1 additions and 1 deletions

View File

@ -222,7 +222,7 @@ public:
/*
Copies whole buffer
*/
SharedBuffer(T *t, unsigned int size)
SharedBuffer(const T *t, unsigned int size)
{
m_size = size;
if(m_size != 0)