mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-29 19:24:29 +03:00
Add Missing throw in Operator::instantiate
This commit is contained in:
committed by
Felipe Zimmerle
parent
6ab464ab78
commit
96d36afeca
@@ -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
|
||||||
|
Reference in New Issue
Block a user