Merge pull request #3913 from ethereum/jsoncpp-version-assert

Add static_assert for the correct jsoncpp version
This commit is contained in:
Alex Beregszaszi 2018-04-17 12:05:59 +01:00 committed by GitHub
commit 842fd0cd2c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,6 +27,11 @@
using namespace std;
static_assert(
(JSONCPP_VERSION_MAJOR == 1) && (JSONCPP_VERSION_MINOR == 7) && (JSONCPP_VERSION_PATCH == 7),
"Unexpected jsoncpp version: " JSONCPP_VERSION_STRING ". Expecting 1.7.7."
);
namespace dev
{