mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-26 22:57:00 +02:00
Compile fix, from Pelya.
This commit is contained in:
parent
73a05d62fd
commit
b471c10149
@ -2546,7 +2546,8 @@ struct VNodeEvaluator : boost::static_visitor<VOption>
|
||||
else if(symToFunc.find(opt.text) != symToFunc.end())
|
||||
{
|
||||
VFunc f(symToFunc[opt.text]);
|
||||
return f(erm->evalEach(exp.children.cdr()));
|
||||
VOptionList ls = erm->evalEach(exp.children.cdr());
|
||||
return f(VermTreeIterator(ls));
|
||||
}
|
||||
|
||||
|
||||
@ -2941,4 +2942,4 @@ namespace VERMInterpreter
|
||||
boost::apply_visitor(_VOPTPrinter(), opt);
|
||||
tlog1 << "\n";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user