aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/ValueBroker.h
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-11-07 21:19:01 +0100
committerLoek Le Blansch <loek@pipeframe.xyz>2024-11-07 21:19:01 +0100
commitdc93b1e9b3e05dfd3e271aaccbee1210180a6906 (patch)
tree8a66c8087fb8cbcf14b0827b78a11ec0fb7b08ce /src/crepe/ValueBroker.h
parentace974504e410eb7d98ca021d75511d8f84b9bdc (diff)
update clang-format and run `make format` over my (loek)s files
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"
-