diff options
Diffstat (limited to 'src/client/BlockModel.cpp')
-rw-r--r-- | src/client/BlockModel.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/client/BlockModel.cpp b/src/client/BlockModel.cpp index 865f081c..cacba04c 100644 --- a/src/client/BlockModel.cpp +++ b/src/client/BlockModel.cpp @@ -149,12 +149,12 @@ BlockModel::get_port(const Raul::Symbol& symbol) const return SharedPtr<PortModel>(); } -Ingen::GraphObject* +Ingen::Node* BlockModel::port(uint32_t index) const { assert(index < num_ports()); - return const_cast<Ingen::GraphObject*>( - dynamic_cast<const Ingen::GraphObject*>(_ports[index].get())); + return const_cast<Ingen::Node*>( + dynamic_cast<const Ingen::Node*>(_ports[index].get())); } void |