diff options
author | chriseth <chris@ethereum.org> | 2017-07-13 17:33:06 +0800 |
---|---|---|
committer | chriseth <chris@ethereum.org> | 2017-07-13 17:34:03 +0800 |
commit | 09e821619e20943af7bbd61ad10fb5ae40d2558c (patch) | |
tree | af7152e9af75b84573668424f7eee1a915a7c263 /test/libsolidity/ErrorCheck.cpp | |
parent | 757c500bda9a32cccc86e1ab24da31a99c0e6eac (diff) | |
download | dexon-solidity-09e821619e20943af7bbd61ad10fb5ae40d2558c.tar.gz dexon-solidity-09e821619e20943af7bbd61ad10fb5ae40d2558c.tar.zst dexon-solidity-09e821619e20943af7bbd61ad10fb5ae40d2558c.zip |
Refactor exceptions and provide comment function.
Diffstat (limited to 'test/libsolidity/ErrorCheck.cpp')
-rw-r--r-- | test/libsolidity/ErrorCheck.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/libsolidity/ErrorCheck.cpp b/test/libsolidity/ErrorCheck.cpp index 9b0f9fb7..00424b4c 100644 --- a/test/libsolidity/ErrorCheck.cpp +++ b/test/libsolidity/ErrorCheck.cpp @@ -28,7 +28,7 @@ using namespace std; bool dev::solidity::searchErrorMessage(Error const& _err, std::string const& _substr) { - if (string const* errorMessage = boost::get_error_info<dev::errinfo_comment>(_err)) + if (string const* errorMessage = _err.comment()) { if (errorMessage->find(_substr) == std::string::npos) { |