aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/ValueBroker.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/crepe/ValueBroker.hpp')
-rw-r--r--src/crepe/ValueBroker.hpp13
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)