diff options
author | David Robillard <d@drobilla.net> | 2015-09-29 13:51:22 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2015-09-29 13:51:22 +0000 |
commit | dc6bde36430e1e2da21b3b81f691ea6f31d672be (patch) | |
tree | b382db493db7a7b066fd4c5a603ba23f9de11057 /src/client | |
parent | 3368d57a40527bf1151b5a7d1edcba60d0560539 (diff) | |
download | ingen-dc6bde36430e1e2da21b3b81f691ea6f31d672be.tar.gz ingen-dc6bde36430e1e2da21b3b81f691ea6f31d672be.tar.bz2 ingen-dc6bde36430e1e2da21b3b81f691ea6f31d672be.zip |
Fix more URI conversion issues.
Fixes #1088.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5733 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/client')
-rw-r--r-- | src/client/ObjectModel.cpp | 4 | ||||
-rw-r--r-- | src/client/PortModel.cpp | 10 |
2 files changed, 6 insertions, 8 deletions
diff --git a/src/client/ObjectModel.cpp b/src/client/ObjectModel.cpp index 46282705..98f54cbe 100644 --- a/src/client/ObjectModel.cpp +++ b/src/client/ObjectModel.cpp @@ -41,9 +41,9 @@ ObjectModel::~ObjectModel() } bool -ObjectModel::is_a(const Raul::URI& type) const +ObjectModel::is_a(const URIs::Quark& type) const { - return has_property(_uris.rdf_type, _uris.forge.alloc_uri(type)); + return has_property(_uris.rdf_type, type); } void diff --git a/src/client/PortModel.cpp b/src/client/PortModel.cpp index cd2ebb2a..9b534ae1 100644 --- a/src/client/PortModel.cpp +++ b/src/client/PortModel.cpp @@ -37,17 +37,15 @@ PortModel::on_property(const Raul::URI& uri, const Atom& value) } bool -PortModel::supports(const Raul::URI& value_type) const +PortModel::supports(const URIs::Quark& value_type) const { - return has_property(_uris.atom_supports, - _uris.forge.alloc_uri(value_type)); + return has_property(_uris.atom_supports, value_type); } bool -PortModel::port_property(const Raul::URI& uri) const +PortModel::port_property(const URIs::Quark& uri) const { - return has_property(_uris.lv2_portProperty, - _uris.forge.alloc_uri(uri)); + return has_property(_uris.lv2_portProperty, uri); } bool |