From 0eb6db500b13d51295ad9dd87683430b763e391d Mon Sep 17 00:00:00 2001 From: Brett Laptop Date: Fri, 27 Oct 2023 14:30:16 -0400 Subject: [PATCH] holy const batman --- include/blt/std/memory.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; }