From 96af65a675c7bf04c65f3f73c308d8b1ce244ecd Mon Sep 17 00:00:00 2001 From: Brett Date: Wed, 25 Oct 2023 01:26:44 -0400 Subject: [PATCH] move --- include/blt/std/memory.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/include/blt/std/memory.h b/include/blt/std/memory.h index 9bf6a61..d782cdd 100755 --- a/include/blt/std/memory.h +++ b/include/blt/std/memory.h @@ -223,11 +223,6 @@ namespace blt return _buffer; } - ptr_iterator begin() - { - return ptr_iterator{_buffer}; - } - inline T* data() const { return _buffer; @@ -238,6 +233,11 @@ namespace blt return ptr_iterator{_buffer}; } + ptr_iterator begin() + { + return ptr_iterator{_buffer}; + } + ptr_iterator end() { return ptr_iterator{&_buffer[_size]};