From e5b91f00b0688d5cba6870da6d6ad3300097b07f Mon Sep 17 00:00:00 2001 From: Lioncash Date: Tue, 24 Jan 2023 14:25:49 -0500 Subject: Common: Replace StringBeginsWith/StringEndsWith with std equivalents Obsoletes these functions in favor of the standard member functions added in C++20. --- Source/Core/Common/StringUtil.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'Source/Core/Common/StringUtil.h') diff --git a/Source/Core/Common/StringUtil.h b/Source/Core/Common/StringUtil.h index 620d437f35..cb58f9fa25 100644 --- a/Source/Core/Common/StringUtil.h +++ b/Source/Core/Common/StringUtil.h @@ -169,8 +169,6 @@ std::string WithUnifiedPathSeparators(std::string path); // This requires forward slashes to be used for the path separators, even on Windows. std::string PathToFileName(std::string_view path); -bool StringBeginsWith(std::string_view str, std::string_view begin); -bool StringEndsWith(std::string_view str, std::string_view end); void StringPopBackIf(std::string* s, char c); size_t StringUTF8CodePointCount(const std::string& str); -- cgit v1.2.3