cosmetics: Please cppcheck

This commit is contained in:
Felipe Zimmerle
2021-07-15 14:34:06 -03:00
parent 465db29b76
commit ca52e88e60
3 changed files with 3 additions and 2 deletions

View File

@@ -120,7 +120,7 @@ RuleWithActions::RuleWithActions(
delete a;
std::cout << "General failure, action: " << a->m_name;
std::cout << " has an unknown type." << std::endl;
throw;
throw std::runtime_error("Unexpected condition. Action without a type.\n");
}
}
delete actions;