summaryrefslogtreecommitdiffstats
path: root/src/server/events/Disconnect.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/events/Disconnect.cpp')
-rw-r--r--src/server/events/Disconnect.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/server/events/Disconnect.cpp b/src/server/events/Disconnect.cpp
index 1411e666..e107c81c 100644
--- a/src/server/events/Disconnect.cpp
+++ b/src/server/events/Disconnect.cpp
@@ -67,8 +67,8 @@ Disconnect::Impl::Impl(Engine& e,
{
ThreadManager::assert_thread(THREAD_PRE_PROCESS);
- BlockImpl* const tail_block = _tail->parent_block();
- BlockImpl* const head_block = _head->parent_block();
+ BlockImpl* const tail_block = _tail->parent();
+ BlockImpl* const head_block = _head->parent();
// Remove tail from head's providers
std::set<BlockImpl*>::iterator hp = head_block->providers().find(tail_block);
@@ -128,8 +128,8 @@ Disconnect::pre_process(PreProcessContext& ctx)
return Event::pre_process_done(Status::PORT_NOT_FOUND, _head_path);
}
- BlockImpl* const tail_block = tail->parent_block();
- BlockImpl* const head_block = head->parent_block();
+ BlockImpl* const tail_block = tail->parent();
+ BlockImpl* const head_block = head->parent();
if (tail_block->parent_graph() != head_block->parent_graph()) {
// Arc to a graph port from inside the graph