aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/util
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-11-03 15:09:05 +0100
committerLoek Le Blansch <loek@pipeframe.xyz>2024-11-03 15:09:05 +0100
commita2607bffb1c0f8699021b1b4b3e54fa372e3ed0a (patch)
tree6ce416f4be55b9d8e3f73d6556450ee86f18774e /src/crepe/util
parent83ce876b4c1b12c3654413515840f5f71907ea6c (diff)
more WIP savemanager
Diffstat (limited to 'src/crepe/util')
-rw-r--r--src/crepe/util/Proxy.h4
-rw-r--r--src/crepe/util/Proxy.hpp2
2 files changed, 3 insertions, 3 deletions
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<T> &);
+ Proxy(ValueBroker<T>);
private:
- ValueBroker<T> & broker;
+ ValueBroker<T> 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 <typename T>
-Proxy<T>::Proxy(ValueBroker<T> & broker) : broker(broker) { }
+Proxy<T>::Proxy(ValueBroker<T> broker) : broker(broker) { }
template <typename T>
Proxy<T> & Proxy<T>::operator = (const T & val) {