summaryrefslogtreecommitdiffstats
path: root/src/libs/engine/events/DestroyEvent.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/engine/events/DestroyEvent.cpp')
-rw-r--r--src/libs/engine/events/DestroyEvent.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/engine/events/DestroyEvent.cpp b/src/libs/engine/events/DestroyEvent.cpp
index 2ccad693..96d8874a 100644
--- a/src/libs/engine/events/DestroyEvent.cpp
+++ b/src/libs/engine/events/DestroyEvent.cpp
@@ -67,7 +67,7 @@ DestroyEvent::pre_process()
_store_iterator = _engine.object_store()->find(_path);
if (_store_iterator != _engine.object_store()->objects().end()) {
- _node = dynamic_cast<Node*>(_store_iterator->second);
+ _node = dynamic_cast<NodeImpl*>(_store_iterator->second);
if (!_node)
_port = dynamic_cast<Port*>(_store_iterator->second);