diff options
author | Treeston <treeston.mmoc@gmail.com> | 2020-09-10 15:19:17 +0200 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2022-02-05 21:29:53 +0100 |
commit | 013c9b2cb7404a6d03443eb39f49622dcc99a7fa (patch) | |
tree | 93aa3e890b93528742a7ea0753499c4d1ae7c5c7 /src/common/Utilities/Util.cpp | |
parent | bdd4ccbd7882f4006717522a6d250e48943ba854 (diff) |
Core/ChatCommands: make ExactSequence more readable
(cherry picked from commit feaaa595cae735bb6093b24a88562c27b2723cfe)
Diffstat (limited to 'src/common/Utilities/Util.cpp')
-rw-r--r-- | src/common/Utilities/Util.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/common/Utilities/Util.cpp b/src/common/Utilities/Util.cpp index 0d65f1f7f81..511e4b99684 100644 --- a/src/common/Utilities/Util.cpp +++ b/src/common/Utilities/Util.cpp @@ -840,11 +840,6 @@ bool StringEqualI(std::string_view str1, std::string_view str2) }); } -bool StringStartsWith(std::string_view haystack, std::string_view needle) -{ - return (haystack.substr(0, needle.length()) == needle); -} - bool StringContainsStringI(std::string_view haystack, std::string_view needle) { return haystack.end() != |