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:
parent
25bdcd3cab
commit
13e6f00e18
@ -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())
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user