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

+1 -1
View File
@@ -42,7 +42,7 @@ namespace ams::spl::impl {
/* KeySlot management. */
KeySlotCache g_keyslot_cache;
std::optional<KeySlotCacheEntry> g_keyslot_cache_entry[MaxPhysicalAesKeySlots];
util::optional<KeySlotCacheEntry> g_keyslot_cache_entry[MaxPhysicalAesKeySlots];
inline s32 GetMaxPhysicalKeySlots() {
return (hos::GetVersion() >= hos::Version_6_0_0) ? MaxPhysicalAesKeySlots : MaxPhysicalAesKeySlotsDeprecated;