aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/ValueBroker.hpp
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.hpp
parentace974504e410eb7d98ca021d75511d8f84b9bdc (diff)
update clang-format and run `make format` over my (loek)s files
Diffstat (limited to 'src/crepe/ValueBroker.hpp')
-rw-r--r--src/crepe/ValueBroker.hpp11
1 files changed, 4 insertions, 7 deletions
diff --git a/src/crepe/ValueBroker.hpp b/src/crepe/ValueBroker.hpp
index 0d08333..5c3bed9 100644
--- a/src/crepe/ValueBroker.hpp
+++ b/src/crepe/ValueBroker.hpp
@@ -5,11 +5,9 @@
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 +19,4 @@ void ValueBroker<T>::set(const T & value) {
this->setter(value);
}
-}
-
+} // namespace crepe