mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-14 17:15:21 +02:00
Const-correct SharedBuffer::SharedBuffer(const T *t, unsigned int size)
This commit is contained in:
@@ -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)
|
||||||
|
Reference in New Issue
Block a user