1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2024-11-08 08:47:17 +01:00

Fix constructors in comamnd manager registration to actually make use of builtin formatting.

This commit is contained in:
Sandu Liviu Catalin 2017-06-18 20:25:49 +03:00
parent 7bb44ec008
commit 297d2f97c2

View File

@ -1072,8 +1072,8 @@ void Register(HSQUIRRELVM vm)
cmdns.Bind(_SC("Listener"),
Class< Listener, NoCopy< Listener > >(vm, ListenerTypename::Str)
// Constructors
.Ctor< const StackStrF & >()
.Ctor< const StackStrF &, const StackStrF & >()
.FmtCtor()
.FmtCtor< const StackStrF & >()
.Ctor< const StackStrF &, const StackStrF &, Array & >()
.Ctor< const StackStrF &, const StackStrF &, Uint8, Uint8 >()
.Ctor< const StackStrF &, const StackStrF &, Array &, Uint8, Uint8 >()