aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2017-07-13 22:56:03 +0800
committerGitHub <noreply@github.com>2017-07-13 22:56:03 +0800
commitd1c3ecc94a4c0b36ccfd310a0ccf15e9e9b4a8dd (patch)
tree155c3b7479401e114faa7d2c6bccdfcb7ead866c /test
parent32247fd02800f5fce3a5dd2e8f186a5882447d0d (diff)
parent09e821619e20943af7bbd61ad10fb5ae40d2558c (diff)
downloaddexon-solidity-d1c3ecc94a4c0b36ccfd310a0ccf15e9e9b4a8dd.tar
dexon-solidity-d1c3ecc94a4c0b36ccfd310a0ccf15e9e9b4a8dd.tar.gz
dexon-solidity-d1c3ecc94a4c0b36ccfd310a0ccf15e9e9b4a8dd.tar.bz2
dexon-solidity-d1c3ecc94a4c0b36ccfd310a0ccf15e9e9b4a8dd.tar.lz
dexon-solidity-d1c3ecc94a4c0b36ccfd310a0ccf15e9e9b4a8dd.tar.xz
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')
-rw-r--r--test/libsolidity/ErrorCheck.cpp2
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)
{