fix building for gcc 15

This commit is contained in:
ITotalJustice
2025-05-11 03:00:04 +01:00
parent 20e2d85843
commit 441807bc53
10 changed files with 10 additions and 2 deletions

View File

@@ -14,6 +14,6 @@ std::string get(std::string_view str);
inline namespace literals {
std::string operator"" _i18n(const char* str, size_t len);
std::string operator""_i18n(const char* str, size_t len);
} // namespace literals

View File

@@ -142,7 +142,7 @@ std::string get(std::string_view str) {
namespace literals {
std::string operator"" _i18n(const char* str, size_t len) {
std::string operator""_i18n(const char* str, size_t len) {
return sphaira::i18n::get_internal({str, len});
}

View File

@@ -2,6 +2,7 @@
#include "ui/nvg_util.hpp"
#include "app.hpp"
#include "log.hpp"
#include <algorithm>
namespace sphaira::ui {

View File

@@ -7,6 +7,7 @@
#include "i18n.hpp"
#include "ftpsrv_helper.hpp"
#include <cstring>
#include <algorithm>
namespace sphaira::ui::menu::ftp {
namespace {

View File

@@ -14,6 +14,7 @@
#include <utility>
#include <cstring>
#include <algorithm>
namespace sphaira::ui::menu::game {
namespace {

View File

@@ -7,6 +7,7 @@
#include "ui/nvg_util.hpp"
#include "i18n.hpp"
#include <cstring>
#include <algorithm>
namespace sphaira::ui::menu::gc {
namespace {

View File

@@ -13,6 +13,7 @@
#include <minIni.h>
#include <utility>
#include <algorithm>
namespace sphaira::ui::menu::homebrew {
namespace {

View File

@@ -2,6 +2,7 @@
#include "ui/nvg_util.hpp"
#include "app.hpp"
#include "i18n.hpp"
#include <algorithm>
namespace sphaira::ui {

View File

@@ -3,6 +3,7 @@
#include "ui/popup_list.hpp"
#include "ui/nvg_util.hpp"
#include "i18n.hpp"
#include <algorithm>
namespace sphaira::ui {
namespace {

View File

@@ -20,6 +20,7 @@
#include <zstd.h>
#include <minIni.h>
#include <algorithm>
namespace sphaira::yati {
namespace {