From 6bebe3f3ed1adae825eec55a4a96ea3bc749cef0 Mon Sep 17 00:00:00 2001 From: v4hn Date: Wed, 29 Jul 2020 17:46:17 +0200 Subject: [PATCH] do not mix pimpl() and impl for no reason --- core/src/task.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/task.cpp b/core/src/task.cpp index 57e25ba4..16d5af05 100644 --- a/core/src/task.cpp +++ b/core/src/task.cpp @@ -218,8 +218,8 @@ void Task::enableIntrospection(bool enable) { impl->introspection_.reset(new Introspection(impl)); else if (!enable && impl->introspection_) { // reset introspection instance of all stages - pimpl()->setIntrospection(nullptr); - pimpl()->traverseStages( + impl->setIntrospection(nullptr); + impl->traverseStages( [](Stage& stage, int /*depth*/) { stage.pimpl()->setIntrospection(nullptr); return true;