From 13e6f00e1824493fbc41dbc8b814ca16592e6392 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20W=2E=20Urba=C5=84czyk?= Date: Mon, 30 Apr 2012 10:40:19 +0000 Subject: [PATCH] Compile fix #945. --- lib/JsonNode.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/JsonNode.h b/lib/JsonNode.h index 2b612524a..8e07389f4 100644 --- a/lib/JsonNode.h +++ b/lib/JsonNode.h @@ -78,8 +78,7 @@ public: template std::vector StdVector() const { - - static_assert(typename std::is_arithmetic::value, "This works with numbers only."); + static_assert(std::is_arithmetic::value, "This works with numbers only."); std::vector ret; BOOST_FOREACH(const JsonNode &node, Vector()) {