aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/ValueBroker.h
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-11-08 11:36:39 +0100
committerLoek Le Blansch <loek@pipeframe.xyz>2024-11-08 11:36:39 +0100
commitbf177644dc5de58791eb80b11af9d6b4877b0a24 (patch)
treed85656633677397152dae729e7ec67069c13ec3e /src/crepe/ValueBroker.h
parent1c4156ee127b14760ed3b1a0cd16ad12180c7ac6 (diff)
`make format`
Diffstat (limited to 'src/crepe/ValueBroker.h')
-rw-r--r--src/crepe/ValueBroker.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/crepe/ValueBroker.h b/src/crepe/ValueBroker.h
index 88988b4..d844d6a 100644
--- a/src/crepe/ValueBroker.h
+++ b/src/crepe/ValueBroker.h
@@ -23,10 +23,12 @@ public:
virtual const T & get();
typedef std::function<void(const T & target)> setter_t;
- typedef std::function<const T & ()> getter_t;
+ typedef std::function<const T &()> getter_t;
+
private:
setter_t setter;
getter_t getter;
+
public:
/**
* \param setter Function that sets the variable
@@ -35,7 +37,6 @@ public:
ValueBroker(const setter_t & setter, const getter_t & getter);
};
-}
+} // namespace crepe
#include "ValueBroker.hpp"
-