diff options
Diffstat (limited to 'src/client/PortModel.cpp')
-rw-r--r-- | src/client/PortModel.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/PortModel.cpp b/src/client/PortModel.cpp index a4261202..eb645791 100644 --- a/src/client/PortModel.cpp +++ b/src/client/PortModel.cpp @@ -64,11 +64,11 @@ PortModel::is_uri() const } void -PortModel::set(SharedPtr<ObjectModel> model) +PortModel::set(SPtr<ObjectModel> model) { ObjectModel::set(model); - SharedPtr<PortModel> port = PtrCast<PortModel>(model); + SPtr<PortModel> port = dynamic_ptr_cast<PortModel>(model); if (port) { _index = port->_index; _direction = port->_direction; |