aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/libsolidity/SyntaxTester.cpp13
1 files changed, 13 insertions, 0 deletions
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<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;