1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-01-26 03:52:01 +02:00

Compile fix #945.

This commit is contained in:
Michał W. Urbańczyk 2012-04-30 10:40:19 +00:00
parent 25bdcd3cab
commit 13e6f00e18

View File

@ -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())
{