Makes action name a shared pointer

This commit is contained in:
Felipe Zimmerle
2019-02-14 23:20:32 -03:00
parent 9c526b3647
commit 96849c07de
3 changed files with 24 additions and 25 deletions

View File

@@ -1171,7 +1171,7 @@ expression:
}
checkedActions.push_back(a);
} else {
driver.error(@0, "The action '" + a->m_name + "' is not suitable to be part of the SecDefaultActions");
driver.error(@0, "The action '" + *a->m_name.get() + "' is not suitable to be part of the SecDefaultActions");
YYERROR;
}
}