1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2025-01-19 03:57:14 +01:00

Remove explicit format enabled constructors from the SQLite module.

This commit is contained in:
Sandu Liviu Catalin 2018-10-31 20:30:26 +02:00
parent 1757e8b7c4
commit c516c53bd3
2 changed files with 3 additions and 3 deletions

View File

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

View File

@ -425,7 +425,7 @@ void Register_Statement(Table & sqlns)
// Constructors
.Ctor()
.Ctor< const Statement & >()
.FmtCtor< const Connection & >()
.Ctor< const Connection &, const StackStrF & >()
// Meta-methods
.SquirrelFunc(_SC("_typename"), &Typename::Fn)
.Func(_SC("_tostring"), &Statement::ToString)