summaryrefslogtreecommitdiffstats
path: root/ingen/Parser.hpp
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 /ingen/Parser.hpp
parenta758bd3a5ea0d1155b661db6c2d35466dff73fb0 (diff)
downloadingen-112eb3a668f65547b1757978b02cbafebf97b794.tar.gz
ingen-112eb3a668f65547b1757978b02cbafebf97b794.tar.bz2
ingen-112eb3a668f65547b1757978b02cbafebf97b794.zip
Make parser take mandatory arguments by reference
Diffstat (limited to 'ingen/Parser.hpp')
-rw-r--r--ingen/Parser.hpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/ingen/Parser.hpp b/ingen/Parser.hpp
index 4f7500f5..574305df 100644
--- a/ingen/Parser.hpp
+++ b/ingen/Parser.hpp
@@ -77,16 +77,16 @@ public:
* @return whether or not load was successful.
*/
virtual bool parse_file(
- World* world,
- Interface* target,
+ World& world,
+ Interface& target,
const FilePath& path,
boost::optional<Raul::Path> parent = boost::optional<Raul::Path>(),
boost::optional<Raul::Symbol> symbol = boost::optional<Raul::Symbol>(),
boost::optional<Properties> data = boost::optional<Properties>());
virtual boost::optional<URI> parse_string(
- World* world,
- Interface* target,
+ World& world,
+ Interface& target,
const std::string& str,
const URI& base_uri,
boost::optional<Raul::Path> parent = boost::optional<Raul::Path>(),