summaryrefslogtreecommitdiffstats
path: root/src/gui/ThreadedLoader.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-03-08 08:21:27 +0100
committerDavid Robillard <d@drobilla.net>2019-03-08 08:21:27 +0100
commit112eb3a668f65547b1757978b02cbafebf97b794 (patch)
treee40e3e7b145d8bca8496d42165ae2dce2bb627ea /src/gui/ThreadedLoader.cpp
parenta758bd3a5ea0d1155b661db6c2d35466dff73fb0 (diff)
downloadingen-112eb3a668f65547b1757978b02cbafebf97b794.tar.gz
ingen-112eb3a668f65547b1757978b02cbafebf97b794.tar.bz2
ingen-112eb3a668f65547b1757978b02cbafebf97b794.zip
Make parser take mandatory arguments by reference
Diffstat (limited to 'src/gui/ThreadedLoader.cpp')
-rw-r--r--src/gui/ThreadedLoader.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/ThreadedLoader.cpp b/src/gui/ThreadedLoader.cpp
index cd7b1594..a7115de6 100644
--- a/src/gui/ThreadedLoader.cpp
+++ b/src/gui/ThreadedLoader.cpp
@@ -105,8 +105,8 @@ ThreadedLoader::load_graph_event(const FilePath& file_path,
{
std::lock_guard<std::mutex> lock(_app.world()->rdf_mutex());
- _app.world()->parser()->parse_file(_app.world(),
- _app.world()->interface().get(),
+ _app.world()->parser()->parse_file(*_app.world(),
+ *_app.world()->interface(),
file_path,
engine_parent,
engine_symbol,