summaryrefslogtreecommitdiffstats
path: root/src/server
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2022-08-18 01:42:02 -0400
committerDavid Robillard <d@drobilla.net>2022-08-18 01:42:02 -0400
commit56cfb8680a67c283175e7a06b437cf480f9f5c82 (patch)
tree966c13e0e3dd42e6647b19a1d607ecd14eb6fe51 /src/server
parentf8eee81f6f94d018ab7c1133bf2b78926316edf8 (diff)
downloadingen-56cfb8680a67c283175e7a06b437cf480f9f5c82.tar.gz
ingen-56cfb8680a67c283175e7a06b437cf480f9f5c82.tar.bz2
ingen-56cfb8680a67c283175e7a06b437cf480f9f5c82.zip
Use consistent brace wrapping for struct definitions
Diffstat (limited to 'src/server')
-rw-r--r--src/server/LV2Block.hpp3
-rw-r--r--src/server/Load.hpp3
-rw-r--r--src/server/RunContext.cpp3
-rw-r--r--src/server/State.hpp3
4 files changed, 4 insertions, 8 deletions
diff --git a/src/server/LV2Block.hpp b/src/server/LV2Block.hpp
index ec0b863b..8e87acda 100644
--- a/src/server/LV2Block.hpp
+++ b/src/server/LV2Block.hpp
@@ -151,8 +151,7 @@ protected:
struct Response : public raul::Maid::Disposable
, public raul::Noncopyable
- , public boost::intrusive::slist_base_hook<>
- {
+ , public boost::intrusive::slist_base_hook<> {
inline Response(uint32_t s, const void* d)
: size(s)
, data(malloc(s))
diff --git a/src/server/Load.hpp b/src/server/Load.hpp
index f69d0659..4a30dd58 100644
--- a/src/server/Load.hpp
+++ b/src/server/Load.hpp
@@ -24,8 +24,7 @@
namespace ingen {
namespace server {
-struct Load
-{
+struct Load {
void update(uint64_t time, uint64_t available) {
const uint64_t load = time * 100 / available;
if (load < min) {
diff --git a/src/server/RunContext.cpp b/src/server/RunContext.cpp
index 05f57bf5..1e5b3657 100644
--- a/src/server/RunContext.cpp
+++ b/src/server/RunContext.cpp
@@ -40,8 +40,7 @@
namespace ingen {
namespace server {
-struct Notification
-{
+struct Notification {
explicit inline Notification(PortImpl* p = nullptr,
FrameTime f = 0,
LV2_URID k = 0,
diff --git a/src/server/State.hpp b/src/server/State.hpp
index b5a3f7c0..201c6b86 100644
--- a/src/server/State.hpp
+++ b/src/server/State.hpp
@@ -24,8 +24,7 @@
namespace ingen {
namespace server {
-struct StateDeleter
-{
+struct StateDeleter {
void operator()(LilvState* state) { lilv_state_free(state); }
};