aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/ErrorCheck.cpp
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2017-07-13 17:33:06 +0800
committerchriseth <chris@ethereum.org>2017-07-13 17:34:03 +0800
commit09e821619e20943af7bbd61ad10fb5ae40d2558c (patch)
treeaf7152e9af75b84573668424f7eee1a915a7c263 /test/libsolidity/ErrorCheck.cpp
parent757c500bda9a32cccc86e1ab24da31a99c0e6eac (diff)
downloaddexon-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.cpp2
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)
{