diff options
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) |