diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-11-05 16:12:47 +0100 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-11-05 16:12:47 +0100 |
commit | e36ea050972fcaaf3d85d672755bad4ebb2dcd80 (patch) | |
tree | 5145e0b66650eea1df301106b7d197a586be65f3 /src/crepe/util/Proxy.hpp | |
parent | 333b07775be1ef20fdb5909672c1e4dcabec1b40 (diff) | |
parent | b770475741b7c33d57331f3139c55a3f237ad274 (diff) |
merge `master` into `loek/savemgr`
Diffstat (limited to 'src/crepe/util/Proxy.hpp')
-rw-r--r-- | src/crepe/util/Proxy.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/crepe/util/Proxy.hpp b/src/crepe/util/Proxy.hpp index c2cae93..4aec9e9 100644 --- a/src/crepe/util/Proxy.hpp +++ b/src/crepe/util/Proxy.hpp @@ -2,7 +2,7 @@ #include "Proxy.h" -namespace crepe::util { +namespace crepe { template <typename T> Proxy<T>::Proxy(ValueBroker<T> broker) : broker(broker) { } @@ -14,7 +14,7 @@ Proxy<T> & Proxy<T>::operator = (const T & val) { } template <typename T> -Proxy<T>::operator const T & () const { +Proxy<T>::operator const T & () { return this->broker.get(); } |