fix building for gcc 15
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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});
|
||||
}
|
||||
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
#include "ui/nvg_util.hpp"
|
||||
#include "app.hpp"
|
||||
#include "log.hpp"
|
||||
#include <algorithm>
|
||||
|
||||
namespace sphaira::ui {
|
||||
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
#include "i18n.hpp"
|
||||
#include "ftpsrv_helper.hpp"
|
||||
#include <cstring>
|
||||
#include <algorithm>
|
||||
|
||||
namespace sphaira::ui::menu::ftp {
|
||||
namespace {
|
||||
|
||||
@@ -14,6 +14,7 @@
|
||||
|
||||
#include <utility>
|
||||
#include <cstring>
|
||||
#include <algorithm>
|
||||
|
||||
namespace sphaira::ui::menu::game {
|
||||
namespace {
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
#include "ui/nvg_util.hpp"
|
||||
#include "i18n.hpp"
|
||||
#include <cstring>
|
||||
#include <algorithm>
|
||||
|
||||
namespace sphaira::ui::menu::gc {
|
||||
namespace {
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
|
||||
#include <minIni.h>
|
||||
#include <utility>
|
||||
#include <algorithm>
|
||||
|
||||
namespace sphaira::ui::menu::homebrew {
|
||||
namespace {
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
#include "ui/nvg_util.hpp"
|
||||
#include "app.hpp"
|
||||
#include "i18n.hpp"
|
||||
#include <algorithm>
|
||||
|
||||
namespace sphaira::ui {
|
||||
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
#include "ui/popup_list.hpp"
|
||||
#include "ui/nvg_util.hpp"
|
||||
#include "i18n.hpp"
|
||||
#include <algorithm>
|
||||
|
||||
namespace sphaira::ui {
|
||||
namespace {
|
||||
|
||||
@@ -20,6 +20,7 @@
|
||||
|
||||
#include <zstd.h>
|
||||
#include <minIni.h>
|
||||
#include <algorithm>
|
||||
|
||||
namespace sphaira::yati {
|
||||
namespace {
|
||||
|
||||
Reference in New Issue
Block a user