diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/Parser.cpp | 6 | ||||
-rw-r--r-- | src/server/LV2Block.cpp | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/Parser.cpp b/src/Parser.cpp index 55ab4695..0f5adb0c 100644 --- a/src/Parser.cpp +++ b/src/Parser.cpp @@ -384,7 +384,7 @@ parse_graph(ingen::World& world, } if (ctx != Resource::Graph::INTERNAL) { - return graph_path; // Not parsing graph internals, finished now + return {graph_path}; // Not parsing graph internals, finished now } // For each block in this graph @@ -428,7 +428,7 @@ parse_graph(ingen::World& world, // Now that all ports and blocks exist, create arcs inside graph parse_arcs(world, target, model, base_uri, subject, graph_path); - return graph_path; + return {graph_path}; } static bool @@ -697,7 +697,7 @@ Parser::parse_string(ingen::World& world, Sord::Node subject; parse(world, target, model, actual_base, subject, parent, symbol, data); - return actual_base; + return {actual_base}; } } // namespace ingen diff --git a/src/server/LV2Block.cpp b/src/server/LV2Block.cpp index bc6561d3..15c66a2c 100644 --- a/src/server/LV2Block.cpp +++ b/src/server/LV2Block.cpp @@ -730,7 +730,7 @@ LV2Block::save_preset(const URI& uri, lilv_world_load_bundle(lworld, lbundle); lilv_node_free(lbundle); - return preset; + return {preset}; } return boost::optional<Resource>(); |