aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/util
diff options
context:
space:
mode:
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) {