mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2025-02-22 12:47:13 +01:00
Remove string stream header. Remove unused variable.
This commit is contained in:
parent
82c1154c2b
commit
25bc3ce02c
@ -34,7 +34,6 @@
|
|||||||
#include <squirrel.h>
|
#include <squirrel.h>
|
||||||
#endif // SQMOD_PLUGIN_API
|
#endif // SQMOD_PLUGIN_API
|
||||||
|
|
||||||
#include <sstream>
|
|
||||||
#include "sqratTypes.h"
|
#include "sqratTypes.h"
|
||||||
#include "sqratUtil.h"
|
#include "sqratUtil.h"
|
||||||
#include "sqratGlobalMethods.h"
|
#include "sqratGlobalMethods.h"
|
||||||
@ -108,7 +107,7 @@ inline SQInteger OverloadExecutionForwarder(HSQUIRRELVM vm) {
|
|||||||
return sq_throwerror(vm, _SC("unable to acquire the proper overload closure"));
|
return sq_throwerror(vm, _SC("unable to acquire the proper overload closure"));
|
||||||
}
|
}
|
||||||
// Attempt to get the free variable containing the native closure pointer on the stack
|
// Attempt to get the free variable containing the native closure pointer on the stack
|
||||||
const SQChar *name = sq_getonefreevariable(vm, 0);
|
sq_getonefreevariable(vm, 0);
|
||||||
// This is simply a hack to implement a direct call and gain some performance
|
// This is simply a hack to implement a direct call and gain some performance
|
||||||
// Since both closures expect a free variable we simply replace the free variable
|
// Since both closures expect a free variable we simply replace the free variable
|
||||||
// containing closure name with the free variable containing the closure pointer
|
// containing closure name with the free variable containing the closure pointer
|
||||||
|
Loading…
x
Reference in New Issue
Block a user