summaryrefslogtreecommitdiffstats
path: root/src
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
parentf8eee81f6f94d018ab7c1133bf2b78926316edf8 (diff)
downloadingen-56cfb8680a67c283175e7a06b437cf480f9f5c82.tar.gz
ingen-56cfb8680a67c283175e7a06b437cf480f9f5c82.tar.bz2
ingen-56cfb8680a67c283175e7a06b437cf480f9f5c82.zip
Use consistent brace wrapping for struct definitions
Diffstat (limited to 'src')
-rw-r--r--src/Serialiser.cpp3
-rw-r--r--src/gui/GraphTreeWindow.hpp3
-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
6 files changed, 6 insertions, 12 deletions
diff --git a/src/Serialiser.cpp b/src/Serialiser.cpp
index b0d41dd2..21d8286f 100644
--- a/src/Serialiser.cpp
+++ b/src/Serialiser.cpp
@@ -53,8 +53,7 @@
namespace ingen {
-struct Serialiser::Impl
-{
+struct Serialiser::Impl {
explicit Impl(World& world)
: _root_path("/")
, _world(world)
diff --git a/src/gui/GraphTreeWindow.hpp b/src/gui/GraphTreeWindow.hpp
index 7c2a67b9..8534d66c 100644
--- a/src/gui/GraphTreeWindow.hpp
+++ b/src/gui/GraphTreeWindow.hpp
@@ -89,8 +89,7 @@ protected:
GraphTreeView* _graphs_treeview{nullptr};
- struct GraphTreeModelColumns : public Gtk::TreeModel::ColumnRecord
- {
+ struct GraphTreeModelColumns : public Gtk::TreeModel::ColumnRecord {
GraphTreeModelColumns() {
add(name_col);
add(enabled_col);
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); }
};