mirror of
https://github.com/vcmi/vcmi.git
synced 2025-08-15 20:03:15 +02:00
Compile fix #945.
This commit is contained in:
@@ -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())
|
||||
{
|
||||
|
Reference in New Issue
Block a user