From 1c6d3ba397a3ed697a18a01a126b9f368d4d84a2 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Mon, 3 Aug 2020 07:42:53 -0400 Subject: patch_manager: Resolve -Wignored-qualifier warnings Top level const will always be ignored in this case, so it can be removed. --- src/core/file_sys/patch_manager.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/file_sys/patch_manager.cpp b/src/core/file_sys/patch_manager.cpp index c47ff863e..729dbb5f4 100644 --- a/src/core/file_sys/patch_manager.cpp +++ b/src/core/file_sys/patch_manager.cpp @@ -288,8 +288,8 @@ std::optional> ReadCheatFileFromFolder( } Core::Memory::TextCheatParser parser; - return parser.Parse( - system, std::string_view(reinterpret_cast(data.data()), data.size())); + return parser.Parse(system, + std::string_view(reinterpret_cast(data.data()), data.size())); } } // Anonymous namespace -- cgit v1.2.3