ams: std::optional -> util::optional

This commit is contained in:
Michael Scire committed 2021-07-08 02:37:26 -07:00
1 parent 9df13781c2
commit a7c14e03b9
59 files changed
+950 -147

No files matched your search

@@ -497,7 +497,7 @@ namespace ams::mitm::sysupdater {
R_TRY(this->update_transfer_memory->Map(std::addressof(tmem_buffer), os::MemoryPermission_None));
auto tmem_guard = SCOPE_GUARD {
this->update_transfer_memory->Unmap();
this->update_transfer_memory = std::nullopt;
this->update_transfer_memory = util::nullopt;
};
/* Now that the memory is mapped, the input handle is managed and can be released. */