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