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