diff options
author | Treeston <treeston.mmoc@gmail.com> | 2020-09-10 15:19:17 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-10 15:19:17 +0200 |
commit | feaaa595cae735bb6093b24a88562c27b2723cfe (patch) | |
tree | 18a313b5b0f53340a11068933bda27bf0537adf8 /src/common/Utilities/Util.cpp | |
parent | 5189f134cae4ee9bcb9e04d5c87550b130f36474 (diff) |
Core/ChatCommands: make ExactSequence more readable
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 b6066e9505b..c51cb954c91 100644 --- a/src/common/Utilities/Util.cpp +++ b/src/common/Utilities/Util.cpp @@ -655,11 +655,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() != |