From 5bd638d4a526a775892d995764144247d422e71f Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Mon, 26 Nov 2012 11:39:52 +0200 Subject: [PATCH] Const-correct SharedBuffer::SharedBuffer(const T *t, unsigned int size) --- src/util/pointer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/pointer.h b/src/util/pointer.h index 766cc232..775f0a33 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) -- 2.30.2