diff options
Diffstat (limited to 'src/client/PortModel.cpp')
-rw-r--r-- | src/client/PortModel.cpp | 10 |
1 files changed, 4 insertions, 6 deletions
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 |