diff --git a/include/blt/std/memory.h b/include/blt/std/memory.h index 50f6a15..3d19db7 100755 --- a/include/blt/std/memory.h +++ b/include/blt/std/memory.h @@ -227,12 +227,12 @@ namespace blt return _buffer; } - inline T*& ptr() const + inline const T* const& ptr() const { return _buffer; } - inline T*& data() const + inline const T* const& data() const { return _buffer; }