diff options
Diffstat (limited to 'libsolidity')
-rw-r--r-- | libsolidity/interface/Exceptions.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/libsolidity/interface/Exceptions.cpp b/libsolidity/interface/Exceptions.cpp index f4ce8bc8..90a680b4 100644 --- a/libsolidity/interface/Exceptions.cpp +++ b/libsolidity/interface/Exceptions.cpp @@ -56,10 +56,3 @@ Error::Error(Type _type): m_type(_type) break; } } - -bool Error::searchForSubstring(const std::string& _substr) const -{ - if (const std::string* str = boost::get_error_info<errinfo_comment>(*this)) - return str->find(_substr) != std::string::npos; - return _substr.empty(); -} |