summaryrefslogtreecommitdiffstats
path: root/src/server/ingen_lv2.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2022-08-18 01:41:54 -0400
committerDavid Robillard <d@drobilla.net>2022-08-18 01:41:54 -0400
commit4564d719745848386a0662a44a47a8400c799560 (patch)
tree2e17ed86462390a10425e910d23d96bea582c08c /src/server/ingen_lv2.cpp
parent590f82cba0752f41226bbdbf352753cf336ec758 (diff)
downloadingen-4564d719745848386a0662a44a47a8400c799560.tar.gz
ingen-4564d719745848386a0662a44a47a8400c799560.tar.bz2
ingen-4564d719745848386a0662a44a47a8400c799560.zip
Use a consistent style for FOREACH macros
Diffstat (limited to 'src/server/ingen_lv2.cpp')
-rw-r--r--src/server/ingen_lv2.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/ingen_lv2.cpp b/src/server/ingen_lv2.cpp
index c1dd4e95..203fc115 100644
--- a/src/server/ingen_lv2.cpp
+++ b/src/server/ingen_lv2.cpp
@@ -149,7 +149,7 @@ public:
auto* seq = reinterpret_cast<LV2_Atom_Sequence*>(lv2_buf);
bool enqueued = false;
- LV2_ATOM_SEQUENCE_FOREACH(seq, ev)
+ LV2_ATOM_SEQUENCE_FOREACH (seq, ev)
{
if (AtomReader::is_message(uris, &ev->body)) {
enqueued = enqueue_message(&ev->body) || enqueued;
@@ -262,7 +262,7 @@ public:
const URIs& uris = _engine.world().uris();
auto* seq = static_cast<LV2_Atom_Sequence*>(_ports[0]->buffer());
- LV2_ATOM_SEQUENCE_FOREACH(seq, ev) {
+ LV2_ATOM_SEQUENCE_FOREACH (seq, ev) {
if (ev->body.type == uris.atom_Object) {
const LV2_Atom_Object* obj =
reinterpret_cast<LV2_Atom_Object*>(&ev->body);