diff options
author | David Robillard <d@drobilla.net> | 2022-08-18 01:24:09 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2022-08-18 01:24:09 -0400 |
commit | 393ab317429b211a7f14f0595c77a90268ab43e5 (patch) | |
tree | c5c63c93aabeff6cb774b45885bbe9362af727c4 /src/Parser.cpp | |
parent | 3af246bb3291d8568f6d110884fa55ee5fd20221 (diff) | |
download | ingen-393ab317429b211a7f14f0595c77a90268ab43e5.tar.gz ingen-393ab317429b211a7f14f0595c77a90268ab43e5.tar.bz2 ingen-393ab317429b211a7f14f0595c77a90268ab43e5.zip |
Clean up path construction
Diffstat (limited to 'src/Parser.cpp')
-rw-r--r-- | src/Parser.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/Parser.cpp b/src/Parser.cpp index a1661625..dec0e28c 100644 --- a/src/Parser.cpp +++ b/src/Parser.cpp @@ -338,13 +338,11 @@ parse_graph(ingen::World& world, const Sord::Node nil; // Build graph path and symbol - raul::Path graph_path; + raul::Path graph_path{"/"}; if (parent && symbol) { graph_path = parent->child(*symbol); } else if (parent) { graph_path = *parent; - } else { - graph_path = raul::Path("/"); } // Create graph |