diff --git a/src/fsfw/action/TemplateAction.h b/src/fsfw/action/TemplateAction.h index f9eeccf3..372277e1 100644 --- a/src/fsfw/action/TemplateAction.h +++ b/src/fsfw/action/TemplateAction.h @@ -9,7 +9,7 @@ class TemplateAction : public Action { #ifdef FSFW_INTROSPECTION TemplateAction(owner *myOwner, ActionEnum id) : Action(), myOwner(myOwner) { Action::setEnum(&id); - if (myOwner->getActionHelper()->getQueue() == nullptr) { + if (myOwner->getActionHelper() == nullptr) { sif::error << "TemplateAction::TemplateAction: Action instances need to be created (ie located) after the actionHelper instance." << "Program will segfault now..." << std::endl; @@ -26,4 +26,4 @@ class TemplateAction : public Action { private: owner *myOwner; -}; \ No newline at end of file +};