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

Don't attempt to overload the cmp metamethod in the ini document type.

This commit is contained in:
Sandu Liviu Catalin 2016-11-15 21:45:56 +02:00
parent 677398a642
commit 24f5eaafc6

View File

@ -417,7 +417,7 @@ void Register_INI(HSQUIRRELVM vm)
.Ctor< bool, bool >()
.Ctor< bool, bool, bool >()
// Core Meta-methods
.Func(_SC("_cmp"), &Document::Cmp)
.Func(_SC("cmp"), &Document::Cmp)
.SquirrelFunc(_SC("_typename"), &DocumentTypename::Fn)
.Func(_SC("_tostring"), &Document::ToString)
// Properties