From 24f5eaafc657f235ba82051c0164f62ea6e71d04 Mon Sep 17 00:00:00 2001 From: Sandu Liviu Catalin Date: Tue, 15 Nov 2016 21:45:56 +0200 Subject: [PATCH] Don't attempt to overload the cmp metamethod in the ini document type. --- source/Library/IO/INI.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/Library/IO/INI.cpp b/source/Library/IO/INI.cpp index b0c13da2..ea0feb35 100644 --- a/source/Library/IO/INI.cpp +++ b/source/Library/IO/INI.cpp @@ -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