瀏覽代碼

Compile fix #945.

Michał W. Urbańczyk 13 年之前
父節點
當前提交
13e6f00e18
共有 1 個文件被更改,包括 1 次插入2 次删除
  1. 1 2
      lib/JsonNode.h

+ 1 - 2
lib/JsonNode.h

@@ -78,8 +78,7 @@ public:
 	template<typename T>
 	template<typename T>
 	std::vector<T> StdVector() const
 	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;
 		std::vector<T> ret;
 		BOOST_FOREACH(const JsonNode &node, Vector())
 		BOOST_FOREACH(const JsonNode &node, Vector())
 		{
 		{