diff options
author | Perttu Ahola <celeron55@gmail.com> | 2012-11-26 11:39:52 +0200 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2012-11-26 11:39:52 +0200 |
commit | 5bd638d4a526a775892d995764144247d422e71f (patch) | |
tree | df6632410c589d20aa68a19d1bb246c9f6012fd0 /src | |
parent | eca1c964126cc7f6ae62ab274f7f1a83f03fedfd (diff) | |
download | minetest-5bd638d4a526a775892d995764144247d422e71f.tar.gz minetest-5bd638d4a526a775892d995764144247d422e71f.tar.bz2 minetest-5bd638d4a526a775892d995764144247d422e71f.zip |
Const-correct SharedBuffer::SharedBuffer(const T *t, unsigned int size)
Diffstat (limited to 'src')
-rw-r--r-- | src/util/pointer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/pointer.h b/src/util/pointer.h index 766cc2328..775f0a336 100644 --- a/src/util/pointer.h +++ b/src/util/pointer.h @@ -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) |