summaryrefslogtreecommitdiffstats
path: root/src/client/PortModel.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2015-09-29 13:51:22 +0000
committerDavid Robillard <d@drobilla.net>2015-09-29 13:51:22 +0000
commitdc6bde36430e1e2da21b3b81f691ea6f31d672be (patch)
treeb382db493db7a7b066fd4c5a603ba23f9de11057 /src/client/PortModel.cpp
parent3368d57a40527bf1151b5a7d1edcba60d0560539 (diff)
downloadingen-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/PortModel.cpp')
-rw-r--r--src/client/PortModel.cpp10
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