diff options
author | chriseth <chris@ethereum.org> | 2017-07-13 22:56:03 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-13 22:56:03 +0800 |
commit | d1c3ecc94a4c0b36ccfd310a0ccf15e9e9b4a8dd (patch) | |
tree | 155c3b7479401e114faa7d2c6bccdfcb7ead866c /test/libsolidity/ErrorCheck.cpp | |
parent | 32247fd02800f5fce3a5dd2e8f186a5882447d0d (diff) | |
parent | 09e821619e20943af7bbd61ad10fb5ae40d2558c (diff) | |
download | dexon-solidity-d1c3ecc94a4c0b36ccfd310a0ccf15e9e9b4a8dd.tar.gz dexon-solidity-d1c3ecc94a4c0b36ccfd310a0ccf15e9e9b4a8dd.tar.zst dexon-solidity-d1c3ecc94a4c0b36ccfd310a0ccf15e9e9b4a8dd.zip |
Merge pull request #2567 from ethereum/refactorExceptions
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 7a66c6c7..b1e94061 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) { |