mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-08-25 19:17:18 +02:00
service/bcat: Silence -Wreorder and -Wunused
This commit is contained in:
parent
87e7cc2d5a
commit
8566096794
@ -88,7 +88,7 @@ std::ostream& operator<<(std::ostream& os, DownloadResult result) {
|
|||||||
|
|
||||||
constexpr u32 PORT = 443;
|
constexpr u32 PORT = 443;
|
||||||
constexpr u32 TIMEOUT_SECONDS = 30;
|
constexpr u32 TIMEOUT_SECONDS = 30;
|
||||||
constexpr u64 VFS_COPY_BLOCK_SIZE = 1ull << 24; // 4MB
|
[[maybe_unused]] constexpr u64 VFS_COPY_BLOCK_SIZE = 1ULL << 24; // 4MB
|
||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
|
|
||||||
|
@ -567,7 +567,7 @@ std::unique_ptr<Backend> CreateBackendFromSettings(DirectoryGetter getter) {
|
|||||||
|
|
||||||
Module::Interface::Interface(std::shared_ptr<Module> module, FileSystem::FileSystemController& fsc,
|
Module::Interface::Interface(std::shared_ptr<Module> module, FileSystem::FileSystemController& fsc,
|
||||||
const char* name)
|
const char* name)
|
||||||
: ServiceFramework(name), module(std::move(module)), fsc(fsc),
|
: ServiceFramework(name), fsc(fsc), module(std::move(module)),
|
||||||
backend(CreateBackendFromSettings([&fsc](u64 tid) { return fsc.GetBCATDirectory(tid); })) {}
|
backend(CreateBackendFromSettings([&fsc](u64 tid) { return fsc.GetBCATDirectory(tid); })) {}
|
||||||
|
|
||||||
Module::Interface::~Interface() = default;
|
Module::Interface::~Interface() = default;
|
||||||
|
Loading…
Reference in New Issue
Block a user