Add static_assert for the correct jsoncpp version

This commit is contained in:
Alex Beregszaszi 2018-04-17 11:00:02 +01:00
parent 0304582cbf
commit 0bf3db3fcf

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
{