From a2607bffb1c0f8699021b1b4b3e54fa372e3ed0a Mon Sep 17 00:00:00 2001 From: Loek Le Blansch Date: Sun, 3 Nov 2024 15:09:05 +0100 Subject: more WIP savemanager --- src/crepe/util/Proxy.h | 4 ++-- src/crepe/util/Proxy.hpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/crepe/util') diff --git a/src/crepe/util/Proxy.h b/src/crepe/util/Proxy.h index f8eb1f2..89cb3c3 100644 --- a/src/crepe/util/Proxy.h +++ b/src/crepe/util/Proxy.h @@ -11,10 +11,10 @@ public: operator const T & () const; public: - Proxy(ValueBroker &); + Proxy(ValueBroker); private: - ValueBroker & broker; + ValueBroker broker; }; } diff --git a/src/crepe/util/Proxy.hpp b/src/crepe/util/Proxy.hpp index 5738d9c..c2cae93 100644 --- a/src/crepe/util/Proxy.hpp +++ b/src/crepe/util/Proxy.hpp @@ -5,7 +5,7 @@ namespace crepe::util { template -Proxy::Proxy(ValueBroker & broker) : broker(broker) { } +Proxy::Proxy(ValueBroker broker) : broker(broker) { } template Proxy & Proxy::operator = (const T & val) { -- cgit v1.2.3