1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2025-09-08 16:17:11 +02:00

Make builtin formatted strings default to false to avoid trying to perform a format in cases where it can be folled by a following parameters that are not meant to be part of that formatted string.

This commit is contained in:
Sandu Liviu Catalin
2017-06-18 20:25:12 +03:00
parent bb7a6881c6
commit 7bb44ec008
15 changed files with 38 additions and 38 deletions

View File

@@ -346,9 +346,9 @@ void Register_Connection(Table & sqlns)
Class< Connection >(sqlns.GetVM(), Typename::Str)
// Constructors
.Ctor()
.Ctor< const StackStrF & >()
.FmtCtor< const StackStrF & >()
.Ctor< const StackStrF &, Int32 >()
.Ctor< const StackStrF &, Int32, const StackStrF & >()
.FmtCtor< const StackStrF &, Int32, const StackStrF & >()
// Meta-methods
.SquirrelFunc(_SC("_typename"), &Typename::Fn)
.Func(_SC("_tostring"), &Connection::ToString)