copy paste fail #2

This commit is contained in:
Ulrich Mohr 2022-09-08 11:41:32 +02:00
parent 4c0f67adf5
commit 1c527c4946

View File

@ -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;
};
};