From 09e821619e20943af7bbd61ad10fb5ae40d2558c Mon Sep 17 00:00:00 2001 From: chriseth Date: Thu, 13 Jul 2017 11:33:06 +0200 Subject: Refactor exceptions and provide comment function. --- test/libsolidity/ErrorCheck.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/libsolidity/ErrorCheck.cpp') 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(_err)) + if (string const* errorMessage = _err.comment()) { if (errorMessage->find(_substr) == std::string::npos) { -- cgit