diff options
author | Daniel Kirchner <daniel@ekpyron.org> | 2018-03-09 18:03:16 +0800 |
---|---|---|
committer | Daniel Kirchner <daniel@ekpyron.org> | 2018-03-13 18:20:11 +0800 |
commit | 317c1f7fa36a24259a3c678fad255406df9da64d (patch) | |
tree | b36e25d69067761715c5fef39f34cf54fe077c7a /test | |
parent | 49eaf7c3fd98a2983ac7c9f0994fbca0b73a33c1 (diff) | |
download | dexon-solidity-317c1f7fa36a24259a3c678fad255406df9da64d.tar.gz dexon-solidity-317c1f7fa36a24259a3c678fad255406df9da64d.tar.zst dexon-solidity-317c1f7fa36a24259a3c678fad255406df9da64d.zip |
Workaround for boost < 1.59.0
Diffstat (limited to 'test')
-rw-r--r-- | test/libsolidity/SyntaxTester.cpp | 13 |
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; |