diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-11-07 18:57:04 +0100 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-11-07 18:57:04 +0100 |
commit | 9df087ede0b539ecbd2778236c7d1143362b384d (patch) | |
tree | 01a1c0c46da3a09137fcb9ca6e613fd1148f4df1 /src/crepe/ValueBroker.hpp | |
parent | e36ea050972fcaaf3d85d672755bad4ebb2dcd80 (diff) |
check code standard
Diffstat (limited to 'src/crepe/ValueBroker.hpp')
-rw-r--r-- | src/crepe/ValueBroker.hpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/crepe/ValueBroker.hpp b/src/crepe/ValueBroker.hpp index 61f7f6c..0d08333 100644 --- a/src/crepe/ValueBroker.hpp +++ b/src/crepe/ValueBroker.hpp @@ -1,23 +1,10 @@ #pragma once -#include <memory> - #include "ValueBroker.h" namespace crepe { template <typename T> -ValueBroker<T>::ValueBroker(T & value) : - setter([&value] (const T & target) { - value = std::move(target); - }), - getter([&value] () -> const int & { - return value; - }) - { -} - -template <typename T> ValueBroker<T>::ValueBroker(const setter_t & setter, const getter_t & getter) : setter(setter), getter(getter) |