Common: Replace Result with C++23's std::expected.

This commit is contained in:
Jordan Woyak committed 2026-01-17 16:58:45 -06:00
1 parent b556bd99d7
commit dffc7a650d
24 files changed
+164 -197

No files matched your search

+1 -1
View File
@@ -300,7 +300,7 @@ static bool CopySysmenuFilesToFS(FS::FileSystem* fs, const std::string& host_sou
else
{
// Do not overwrite any existing files.
if (fs->GetMetadata(IOS::SYSMENU_UID, IOS::SYSMENU_UID, nand_path).Succeeded())
if (fs->GetMetadata(IOS::SYSMENU_UID, IOS::SYSMENU_UID, nand_path).has_value())
continue;
File::IOFile host_file{host_path, "rb"};