From 32e7ff55991c021e7afed75e758da7d310827af4 Mon Sep 17 00:00:00 2001 From: cxl Date: Tue, 5 Jul 2016 06:47:19 +0000 Subject: [PATCH] Core: String: Fixed to compile git-svn-id: svn://ultimatepp.org/upp/trunk@10007 f0d560ea-af0d-0410-9eb7-867de7ffcac7 --- uppsrc/Core/String.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uppsrc/Core/String.h b/uppsrc/Core/String.h index 834d18026..d243124ff 100644 --- a/uppsrc/Core/String.h +++ b/uppsrc/Core/String.h @@ -124,7 +124,7 @@ public: int FindFirstOf(int len, const tchar *set, int from = 0) const; int FindFirstOf(const tchar *set, int from = 0) const { return FindFirstOf(strlen__(set), set, from); } - int FindFirstOf(const String& set, int from = 0) const { return FindFirstOf(s.GetCount(), ~set, from); } + int FindFirstOf(const String& set, int from = 0) const { return FindFirstOf(set.GetCount(), ~set, from); } friend bool operator<(const String& a, const String& b) { return a.Compare(b) < 0; } friend bool operator<(const String& a, const tchar *b) { return a.Compare(b) < 0; }