mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2026-11-03 18:37:09 +01:00
Replace template specialisation used to execute a script function with variadic templates in order to reduce code size.
This commit is contained in:
1 parent
2dcd9ee986
commit
7ed5183d45
2 files changed
+25
-2315
No files matched your search
+24
-2314
File diff suppressed because it is too large.
Load diff
@@ -409,7 +409,7 @@ protected:
|
|||||||
// Attempt to forward the error to that callback
|
// Attempt to forward the error to that callback
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
m_OnFail.Execute< Int32, CSStr, T >(type, msg, data);
|
m_OnFail.Execute(type, msg, data);
|
||||||
}
|
}
|
||||||
catch (const Sqrat::Exception & e)
|
catch (const Sqrat::Exception & e)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in new issue
Block a user