diff options
author | David Robillard <d@drobilla.net> | 2022-08-18 01:41:54 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2022-08-18 01:41:54 -0400 |
commit | 4564d719745848386a0662a44a47a8400c799560 (patch) | |
tree | 2e17ed86462390a10425e910d23d96bea582c08c /src/client/PluginModel.cpp | |
parent | 590f82cba0752f41226bbdbf352753cf336ec758 (diff) | |
download | ingen-4564d719745848386a0662a44a47a8400c799560.tar.gz ingen-4564d719745848386a0662a44a47a8400c799560.tar.bz2 ingen-4564d719745848386a0662a44a47a8400c799560.zip |
Use a consistent style for FOREACH macros
Diffstat (limited to 'src/client/PluginModel.cpp')
-rw-r--r-- | src/client/PluginModel.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/PluginModel.cpp b/src/client/PluginModel.cpp index 6ba989b9..2b598e2c 100644 --- a/src/client/PluginModel.cpp +++ b/src/client/PluginModel.cpp @@ -119,7 +119,7 @@ PluginModel::get_property(const URI& key) const LilvNode* lv2_pred = lilv_new_uri(_lilv_world, key.c_str()); LilvNodes* values = lilv_plugin_get_value(_lilv_plugin, lv2_pred); lilv_node_free(lv2_pred); - LILV_FOREACH(nodes, i, values) { + LILV_FOREACH (nodes, i, values) { const LilvNode* value = lilv_nodes_get(values, i); if (lilv_node_is_uri(value)) { ret = set_property( @@ -222,7 +222,7 @@ PluginModel::port_scale_points(const uint32_t index) const if (_lilv_plugin) { const LilvPort* port = lilv_plugin_get_port_by_index(_lilv_plugin, index); LilvScalePoints* sp = lilv_port_get_scale_points(_lilv_plugin, port); - LILV_FOREACH(scale_points, i, sp) { + LILV_FOREACH (scale_points, i, sp) { const LilvScalePoint* p = lilv_scale_points_get(sp, i); points.emplace( lilv_node_as_float(lilv_scale_point_get_value(p)), |