Browse Source

Compile fix #945.

Michał W. Urbańczyk 13 years ago
parent
commit
13e6f00e18
1 changed files with 1 additions and 2 deletions
  1. 1 2
      lib/JsonNode.h

+ 1 - 2
lib/JsonNode.h

@@ -78,8 +78,7 @@ public:
 	template<typename T>
 	std::vector<T> StdVector() const
 	{
-		
-		static_assert(typename std::is_arithmetic<T>::value, "This works with numbers only.");
+		static_assert(std::is_arithmetic<T>::value, "This works with numbers only.");
 		std::vector<T> ret;
 		BOOST_FOREACH(const JsonNode &node, Vector())
 		{