aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/ValueBroker.hpp
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.hpp
parent1c4156ee127b14760ed3b1a0cd16ad12180c7ac6 (diff)
`make format`
Diffstat (limited to 'src/crepe/ValueBroker.hpp')
-rw-r--r--src/crepe/ValueBroker.hpp10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/crepe/ValueBroker.hpp b/src/crepe/ValueBroker.hpp
index 0d08333..927142f 100644
--- a/src/crepe/ValueBroker.hpp
+++ b/src/crepe/ValueBroker.hpp
@@ -5,11 +5,8 @@
namespace crepe {
template <typename T>
-ValueBroker<T>::ValueBroker(const setter_t & setter, const getter_t & getter) :
- setter(setter),
- getter(getter)
- {
-}
+ValueBroker<T>::ValueBroker(const setter_t & setter, const getter_t & getter)
+ : setter(setter), getter(getter) {}
template <typename T>
const T & ValueBroker<T>::get() {
@@ -21,5 +18,4 @@ void ValueBroker<T>::set(const T & value) {
this->setter(value);
}
-}
-
+} // namespace crepe