From 52f88f8fb49154cf6389981c8d208de6019702ae Mon Sep 17 00:00:00 2001 From: Steveice10 <1269164+Steveice10@users.noreply.github.com> Date: Fri, 2 Jun 2023 23:11:17 -0700 Subject: [PATCH] chore: Fix GCC 13 compilation and SoundTouch libraries being installed. (#6593) --- externals/CMakeLists.txt | 2 +- src/web_service/verify_login.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/externals/CMakeLists.txt b/externals/CMakeLists.txt index 3255780cdd..13f8fd99b9 100644 --- a/externals/CMakeLists.txt +++ b/externals/CMakeLists.txt @@ -114,7 +114,7 @@ add_subdirectory(open_source_archives) set(INTEGER_SAMPLES ON CACHE BOOL "") set(SOUNDSTRETCH OFF CACHE BOOL "") set(SOUNDTOUCH_DLL OFF CACHE BOOL "") -add_subdirectory(soundtouch) +add_subdirectory(soundtouch EXCLUDE_FROM_ALL) # Teakra add_subdirectory(teakra EXCLUDE_FROM_ALL) diff --git a/src/web_service/verify_login.cpp b/src/web_service/verify_login.cpp index ca4b43b938..5e5344cee8 100644 --- a/src/web_service/verify_login.cpp +++ b/src/web_service/verify_login.cpp @@ -22,7 +22,7 @@ bool VerifyLogin(const std::string& host, const std::string& username, const std return username.empty(); } - return username == *iter; + return *iter == username; } } // namespace WebService