From 52c5f2b7b3b6a9b6d8fb12e699385d986b5b46d2 Mon Sep 17 00:00:00 2001 From: Brett Laptop Date: Fri, 27 Oct 2023 14:29:41 -0400 Subject: [PATCH] make reference --- include/blt/std/memory.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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; }