From 13f58084428a90ccfe1361e3e7c017dee69fb8fb Mon Sep 17 00:00:00 2001 From: Sandu Liviu Catalin Date: Sun, 31 Jan 2021 14:23:33 +0200 Subject: [PATCH] Rename methods for consistency. --- module/Library/Utils/Vector.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/module/Library/Utils/Vector.cpp b/module/Library/Utils/Vector.cpp index fbc2fc1a..4e8c0986 100644 --- a/module/Library/Utils/Vector.cpp +++ b/module/Library/Utils/Vector.cpp @@ -49,8 +49,8 @@ static void Register_Vector(HSQUIRRELVM vm, Table & ns, const SQChar * name) .Func(_SC("EraseValue"), &Container::EraseValue) .Func(_SC("InsertAt"), &Container::InsertAt) .Func(_SC("Insert"), &Container::Insert) - .Func(_SC("Locate"), &Container::Locate) - .Func(_SC("LocateFrom"), &Container::LocateFrom) + .Func(_SC("Find"), &Container::Locate) + .Func(_SC("FindFrom"), &Container::LocateFrom) .Func(_SC("Count"), &Container::Count) .Func(_SC("Equal"), &Container::Equal) .Func(_SC("Slice"), &Container::Slice)