diff options
Diffstat (limited to 'src/client/BlockModel.cpp')
-rw-r--r-- | src/client/BlockModel.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/client/BlockModel.cpp b/src/client/BlockModel.cpp index a8e74847..2c389f90 100644 --- a/src/client/BlockModel.cpp +++ b/src/client/BlockModel.cpp @@ -200,8 +200,8 @@ BlockModel::port_value_range(SPtr<const PortModel> port, default_port_value_range(port, min, max); // Possibly overriden - const Raul::Atom& min_atom = port->get_property(_uris.lv2_minimum); - const Raul::Atom& max_atom = port->get_property(_uris.lv2_maximum); + const Atom& min_atom = port->get_property(_uris.lv2_minimum); + const Atom& max_atom = port->get_property(_uris.lv2_maximum); if (min_atom.type() == _uris.forge.Float) min = min_atom.get<float>(); if (max_atom.type() == _uris.forge.Float) @@ -219,7 +219,7 @@ BlockModel::port_value_range(SPtr<const PortModel> port, std::string BlockModel::label() const { - const Raul::Atom& name_property = get_property(_uris.lv2_name); + const Atom& name_property = get_property(_uris.lv2_name); if (name_property.type() == _uris.forge.String) { return name_property.ptr<char>(); } else if (plugin_model()) { @@ -232,7 +232,7 @@ BlockModel::label() const std::string BlockModel::port_label(SPtr<const PortModel> port) const { - const Raul::Atom& name = port->get_property(Raul::URI(LV2_CORE__name)); + const Atom& name = port->get_property(Raul::URI(LV2_CORE__name)); if (name.is_valid()) { return name.ptr<char>(); } |