mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Make Whiskers fail early when called with int
This commit is contained in:
parent
3e51d14c6d
commit
08b9da0df5
@ -85,6 +85,8 @@ public:
|
||||
std::string render() const;
|
||||
|
||||
private:
|
||||
// Prevent implicit cast to bool
|
||||
Whiskers& operator()(std::string _parameter, long long);
|
||||
void checkParameterValid(std::string const& _parameter) const;
|
||||
void checkParameterUnknown(std::string const& _parameter) const;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user