mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Workaround for boost < 1.59.0
This commit is contained in:
parent
49eaf7c3fd
commit
317c1f7fa3
@ -27,6 +27,19 @@ using namespace std;
|
||||
using namespace boost::unit_test;
|
||||
namespace fs = boost::filesystem;
|
||||
|
||||
#if BOOST_VERSION < 105900
|
||||
test_case *make_test_case(
|
||||
function<void()> const& _fn,
|
||||
string const& _name,
|
||||
string const&, // _filename
|
||||
size_t // _line
|
||||
)
|
||||
{
|
||||
return make_test_case(_fn, _name);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
void SyntaxTester::runTest(SyntaxTest const& _test)
|
||||
{
|
||||
vector<string> unexpectedErrors;
|
||||
|
Loading…
Reference in New Issue
Block a user