浏览代码

include fmt/ranges.h

Samuliak 1 年之前
父节点
当前提交
40def7017c

+ 1 - 0
src/core/debugger/gdbstub.cpp

@@ -9,6 +9,7 @@
 #include <thread>
 
 #include <boost/algorithm/string.hpp>
+#include <fmt/ranges.h>
 
 #include "common/hex_util.h"
 #include "common/logging/log.h"

+ 1 - 1
src/core/file_sys/system_archive/ng_word.cpp

@@ -10,7 +10,7 @@ namespace FileSys::SystemArchive {
 
 namespace NgWord1Data {
 
-constexpr std::size_t NUMBER_WORD_TXT_FILES = 0x10;
+[[maybe_unused]] constexpr std::size_t NUMBER_WORD_TXT_FILES = 0x10;
 
 // Should this archive replacement mysteriously not work on a future game, consider updating.
 constexpr std::array<u8, 4> VERSION_DAT{0x0, 0x0, 0x0, 0x20}; // 11.0.1 System Version

+ 1 - 0
src/core/hle/service/nfc/common/device.cpp

@@ -15,6 +15,7 @@
 #endif
 
 #include <fmt/format.h>
+#include <fmt/ranges.h>
 
 #include "common/fs/file.h"
 #include "common/fs/fs.h"

+ 2 - 0
src/suyu/main.cpp

@@ -9,6 +9,8 @@
 #include <memory>
 #include <thread>
 
+#include <fmt/ranges.h>
+
 #include "core/hle/service/am/applet_manager.h"
 #include "core/loader/nca.h"
 #include "core/loader/nro.h"