profile_manager: Use std::optional instead of boost::optional

Now that we can actually use std::optional on macOS, we don't need to
continue using boost::optional here.
This commit is contained in:
Lioncash 2018-10-24 10:21:35 -04:00
parent 77e705a8fa
commit 4a31f99a02
5 changed files with 53 additions and 48 deletions

View file

@ -785,7 +785,7 @@ void GMainWindow::OnGameListOpenFolder(u64 program_id, GameListOpenTarget target
ASSERT(index != -1 && index < 8);
const auto user_id = manager.GetUser(index);
ASSERT(user_id != boost::none);
ASSERT(user_id != std::nullopt);
path = nand_dir + FileSys::SaveDataFactory::GetFullPath(FileSys::SaveDataSpaceId::NandUser,
FileSys::SaveDataType::SaveData,
program_id, user_id->uuid, 0);