aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libdevcore/JSON.cpp5
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
{