diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2018-04-17 18:00:02 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2018-04-17 18:03:19 +0800 |
commit | 0bf3db3fcf2f00f83b28d8d946df2865d047fcf1 (patch) | |
tree | fed13dba9d906197b8752dd15e281d101a0cc70f /libdevcore | |
parent | 0304582cbf61798d0a088c46681ffb4f0ab5793c (diff) | |
download | dexon-solidity-0bf3db3fcf2f00f83b28d8d946df2865d047fcf1.tar dexon-solidity-0bf3db3fcf2f00f83b28d8d946df2865d047fcf1.tar.gz dexon-solidity-0bf3db3fcf2f00f83b28d8d946df2865d047fcf1.tar.bz2 dexon-solidity-0bf3db3fcf2f00f83b28d8d946df2865d047fcf1.tar.lz dexon-solidity-0bf3db3fcf2f00f83b28d8d946df2865d047fcf1.tar.xz dexon-solidity-0bf3db3fcf2f00f83b28d8d946df2865d047fcf1.tar.zst dexon-solidity-0bf3db3fcf2f00f83b28d8d946df2865d047fcf1.zip |
Add static_assert for the correct jsoncpp version
Diffstat (limited to 'libdevcore')
-rw-r--r-- | libdevcore/JSON.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libdevcore/JSON.cpp b/libdevcore/JSON.cpp index 079d4d51..d99b3bc6 100644 --- a/libdevcore/JSON.cpp +++ b/libdevcore/JSON.cpp @@ -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 { |