From 9e0cbfcb1406b343c568250c07a7427646506269 Mon Sep 17 00:00:00 2001 From: ADAM David Alan Martin Date: Mon, 13 May 2024 15:21:45 -0400 Subject: [PATCH] Getting a `Blob` reference should be a reference observer --- Memory/Blob.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Memory/Blob.h b/Memory/Blob.h index ee8184a..9cfc764 100644 --- a/Memory/Blob.h +++ b/Memory/Blob.h @@ -95,7 +95,7 @@ namespace Alepha::Hydrogen ::detail:: Blob_m ~Blob() { reset(); } using StorageReservation= IndirectStorage; - StorageReservation reservation() const { return storage; } + const StorageReservation &reservation() const { return storage; } auto swap_lens() noexcept