mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2024-11-08 00:37:15 +01:00
Take functor by copy.
This commit is contained in:
parent
a5b83ddf9e
commit
4ca062d439
@ -625,7 +625,7 @@ public:
|
||||
///
|
||||
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
template<class F>
|
||||
SQRESULT Foreach(F&& func) const
|
||||
SQRESULT Foreach(F func) const
|
||||
{
|
||||
HSQUIRRELVM vm = SqVM();
|
||||
const StackGuard sg(vm);
|
||||
|
Loading…
Reference in New Issue
Block a user