[Misc] Fix Some Warnings on Clang Build with Windows + Adding constexpr

This commit is contained in:
Xphalnos
2025-03-26 17:48:49 +01:00
committed by Radosław Gliński
parent 5f918ef28d
commit 7479ccc292
34 changed files with 93 additions and 92 deletions

View File

@@ -42,7 +42,7 @@ constexpr uint32_t kDashboardID = 0xFFFE07D1;
const static std::string kDashboardStringID =
fmt::format("{:08X}", kDashboardID);
constexpr std::string kDefaultMountFormat = "User_{:016X}";
constexpr std::string_view kDefaultMountFormat = "User_{:016X}";
class ProfileManager {
public:

View File

@@ -23,7 +23,8 @@ namespace xam {
bool xeXamIsUIActive();
static constexpr std::string kXamModuleLoaderDataFileName = "launch_data.bin";
static constexpr std::string_view kXamModuleLoaderDataFileName =
"launch_data.bin";
class XamModule : public KernelModule {
public: