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

@ -743,7 +743,7 @@ void IApplicationFunctions::PopLaunchParameter(Kernel::HLERequestContext& ctx) {
Account::ProfileManager profile_manager{};
const auto uuid = profile_manager.GetUser(Settings::values.current_user);
ASSERT(uuid != boost::none);
ASSERT(uuid != std::nullopt);
params.current_user = uuid->uuid;
IPC::ResponseBuilder rb{ctx, 2, 0, 1};