Add Missing throw in Operator::instantiate

This commit is contained in:
marduone
2019-06-17 14:56:03 -03:00
committed by Felipe Zimmerle
parent 6ab464ab78
commit 96d36afeca

View File

@@ -193,7 +193,7 @@ Operator *Operator::instantiate(std::string op, std::string param_str) {
return new UnconditionalMatch(); return new UnconditionalMatch();
} }
std::invalid_argument("Operator not found."); throw std::invalid_argument("Operator not found.");
} }
} // namespace operators } // namespace operators