Don't attempt to overload the cmp metamethod in the chrono library types.

This commit is contained in:
Sandu Liviu Catalin
2016-11-15 21:48:23 +02:00
parent ff4c0b6143
commit 68c8921415
5 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -427,7 +427,7 @@ void Register_ChronoTime(HSQUIRRELVM vm, Table & /*cns*/)
// Core Meta-methods
.SquirrelFunc(_SC("_typename"), &Typename::Fn)
.Func(_SC("_tostring"), &Time::ToString)
.Func(_SC("_cmp"), &Time::Cmp)
.Func(_SC("cmp"), &Time::Cmp)
// Meta-methods
.Func< Time (Time::*)(const Time &) const >(_SC("_add"), &Time::operator +)
.Func< Time (Time::*)(const Time &) const >(_SC("_sub"), &Time::operator -)