mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2025-02-07 13:27:13 +01:00
Prevent a compilation error in the algorithms header from a missing brace in ForwardElemFunc initializer list.
This commit is contained in:
parent
2cd5054f92
commit
1bf80d76c6
@ -835,7 +835,7 @@ public:
|
|||||||
* Base constructor.
|
* Base constructor.
|
||||||
*/
|
*/
|
||||||
ForwardElemFunc(Object & env, Function & func)
|
ForwardElemFunc(Object & env, Function & func)
|
||||||
: mFunc(env.GetVM(), env, func.GetFunc()), mCount(0)
|
: mFunc(env.IsNull() ? func : Function(env.GetVM(), env, func.GetFunc())), mCount(0)
|
||||||
{
|
{
|
||||||
if (mFunc.IsNull())
|
if (mFunc.IsNull())
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user