From 317c1f7fa36a24259a3c678fad255406df9da64d Mon Sep 17 00:00:00 2001 From: Daniel Kirchner Date: Fri, 9 Mar 2018 11:03:16 +0100 Subject: Workaround for boost < 1.59.0 --- test/libsolidity/SyntaxTester.cpp | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'test/libsolidity') diff --git a/test/libsolidity/SyntaxTester.cpp b/test/libsolidity/SyntaxTester.cpp index 4e545760..886bc3bf 100644 --- a/test/libsolidity/SyntaxTester.cpp +++ b/test/libsolidity/SyntaxTester.cpp @@ -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 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 unexpectedErrors; -- cgit