Michał W. Urbańczyk hace 13 años
padre
commit
13e6f00e18
Se han modificado 1 ficheros con 1 adiciones y 2 borrados
  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())
 		{