summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/ingen/URIMap.hpp9
-rw-r--r--src/server/Worker.cpp3
-rw-r--r--tests/ingen_test.cpp4
3 files changed, 11 insertions, 5 deletions
diff --git a/include/ingen/URIMap.hpp b/include/ingen/URIMap.hpp
index 2df27a93..f5ae8a37 100644
--- a/include/ingen/URIMap.hpp
+++ b/include/ingen/URIMap.hpp
@@ -95,8 +95,13 @@ public:
const LV2_URID_Map& urid_map() const { return _urid_map_feature->data(); }
LV2_URID_Map& urid_map() { return _urid_map_feature->data(); }
- const LV2_URID_Unmap& urid_unmap() const { return _urid_unmap_feature->data(); }
- LV2_URID_Unmap& urid_unmap() { return _urid_unmap_feature->data(); }
+
+ const LV2_URID_Unmap& urid_unmap() const
+ {
+ return _urid_unmap_feature->data();
+ }
+
+ LV2_URID_Unmap& urid_unmap() { return _urid_unmap_feature->data(); }
std::shared_ptr<URIDMapFeature> urid_map_feature()
{
diff --git a/src/server/Worker.cpp b/src/server/Worker.cpp
index 2da96ae6..149d91e7 100644
--- a/src/server/Worker.cpp
+++ b/src/server/Worker.cpp
@@ -38,8 +38,7 @@ namespace server {
struct MessageHeader {
LV2Block* block; ///< Node this message is from
uint32_t size; ///< Size of following data
-
- // `size' bytes of data follow here
+ // `size' bytes of data follow here
};
static LV2_Worker_Status
diff --git a/tests/ingen_test.cpp b/tests/ingen_test.cpp
index 496e8828..9f7da2f0 100644
--- a/tests/ingen_test.cpp
+++ b/tests/ingen_test.cpp
@@ -166,7 +166,9 @@ run(int argc, char** argv)
int n_events = 0;
for (;; ++n_events) {
std::string subject_str = fmt("msg%1%", n_events);
- Sord::URI subject(*world->rdf_world(), subject_str,
+
+ Sord::URI subject(*world->rdf_world(),
+ subject_str,
reinterpret_cast<const char*>(cmds_file_uri.buf));
auto iter = cmds->find(subject, nil, nil);