diff options
Diffstat (limited to 'ingen/client')
-rw-r--r-- | ingen/client/BlockModel.hpp | 4 | ||||
-rw-r--r-- | ingen/client/GraphModel.hpp | 7 |
2 files changed, 6 insertions, 5 deletions
diff --git a/ingen/client/BlockModel.hpp b/ingen/client/BlockModel.hpp index 511e5712..d003b7d1 100644 --- a/ingen/client/BlockModel.hpp +++ b/ingen/client/BlockModel.hpp @@ -84,9 +84,7 @@ public: protected: friend class ClientStore; - BlockModel(URIs& uris, - const URI& plugin_uri, - const Raul::Path& path); + BlockModel(URIs& uris, URI plugin_uri, const Raul::Path& path); BlockModel(URIs& uris, const SPtr<PluginModel>& plugin, diff --git a/ingen/client/GraphModel.hpp b/ingen/client/GraphModel.hpp index c11c419e..2248e7e3 100644 --- a/ingen/client/GraphModel.hpp +++ b/ingen/client/GraphModel.hpp @@ -60,8 +60,11 @@ private: friend class ClientStore; GraphModel(URIs& uris, const Raul::Path& graph_path) - : BlockModel(uris, uris.ingen_Graph, graph_path) - {} + : BlockModel(uris, + static_cast<const URI&>(uris.ingen_Graph), + graph_path) + { + } void clear() override; void add_child(const SPtr<ObjectModel>& c) override; |