1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2026-01-20 22:24:38 +01:00

Multiple fixes for last refactoring.

This commit is contained in:
Sandu Liviu Catalin
2018-07-30 01:51:02 +03:00
parent a75f87b77c
commit 4e31fc478c
4 changed files with 30 additions and 27 deletions

View File

@@ -127,7 +127,7 @@ template <class R> struct SqGlobal {
}
#endif
try {
return SqGlobalProxy<R>::Run(vm, startIdx);
return SqGlobalProxy<R>::template Run<A...>(vm, startIdx);
} catch (const Exception& e) {
return sq_throwerror(vm, e.what());
}
@@ -151,7 +151,7 @@ template <class R> struct SqGlobal<R&> {
}
#endif
try {
return SqGlobalProxy<R&>::Run(vm, startIdx);
return SqGlobalProxy<R&>::template Run<A...>(vm, startIdx);
} catch (const Exception& e) {
return sq_throwerror(vm, e.what());
}
@@ -175,7 +175,7 @@ template <> struct SqGlobal<void> {
}
#endif
try {
return SqGlobalProxy<void>::Run(vm, startIdx);
return SqGlobalProxy<void>::Run<A...>(vm, startIdx);
} catch (const Exception& e) {
return sq_throwerror(vm, e.what());
}