summaryrefslogtreecommitdiffstats
path: root/src/gui/PortPropertiesWindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/PortPropertiesWindow.cpp')
-rw-r--r--src/gui/PortPropertiesWindow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/PortPropertiesWindow.cpp b/src/gui/PortPropertiesWindow.cpp
index a0162fba..defe8235 100644
--- a/src/gui/PortPropertiesWindow.cpp
+++ b/src/gui/PortPropertiesWindow.cpp
@@ -52,7 +52,7 @@ PortPropertiesWindow::PortPropertiesWindow(BaseObjectType* cob
* This function MUST be called before using this object in any way.
*/
void
-PortPropertiesWindow::present(SharedPtr<const PortModel> pm)
+PortPropertiesWindow::present(SPtr<const PortModel> pm)
{
assert(pm);
@@ -66,7 +66,7 @@ PortPropertiesWindow::present(SharedPtr<const PortModel> pm)
set_title(pm->path() + " Properties - Ingen");
float min = 0.0f, max = 1.0f;
- boost::shared_ptr<BlockModel> parent = PtrCast<BlockModel>(_port_model->parent());
+ SPtr<BlockModel> parent = dynamic_ptr_cast<BlockModel>(_port_model->parent());
if (parent)
parent->port_value_range(_port_model, min, max,
_app->sample_rate());