mirror of
https://github.com/moveit/moveit_task_constructor.git
synced 2025-11-04 14:49:57 +08:00
do not mix pimpl() and impl for no reason
This commit is contained in:
parent
03c7f55fcc
commit
6bebe3f3ed
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user