summaryrefslogtreecommitdiffstats
path: root/src/server
diff options
context:
space:
mode:
Diffstat (limited to 'src/server')
-rw-r--r--src/server/PortImpl.cpp5
-rw-r--r--src/server/PortImpl.hpp2
2 files changed, 3 insertions, 4 deletions
diff --git a/src/server/PortImpl.cpp b/src/server/PortImpl.cpp
index f943fbb8..ea71568c 100644
--- a/src/server/PortImpl.cpp
+++ b/src/server/PortImpl.cpp
@@ -141,10 +141,9 @@ PortImpl::has_value() const
}
bool
-PortImpl::supports(const Raul::URI& value_type) const
+PortImpl::supports(const URIs::Quark& value_type) const
{
- return has_property(_bufs.uris().atom_supports,
- _bufs.forge().alloc_uri(value_type));
+ return has_property(_bufs.uris().atom_supports, value_type);
}
void
diff --git a/src/server/PortImpl.hpp b/src/server/PortImpl.hpp
index a59925ab..98a9d81e 100644
--- a/src/server/PortImpl.hpp
+++ b/src/server/PortImpl.hpp
@@ -174,7 +174,7 @@ public:
PortType type() const { return _type; }
LV2_URID buffer_type() const { return _buffer_type; }
- bool supports(const Raul::URI& value_type) const;
+ bool supports(const URIs::Quark& value_type) const;
size_t buffer_size() const { return _buffer_size; }