settings: fix duplicate object name

This commit is contained in:
Michael Scire 2020-04-16 09:04:55 -07:00
parent 469e3290f6
commit db55e9f6b1
2 changed files with 1 additions and 1 deletions

View file

@ -21,7 +21,7 @@ namespace ams::settings::system {
ErrorReportSharePermission GetErrorReportSharePermission() {
s32 perm = 0;
R_ABORT_UNLESS(settings::impl::GetErrorReportSharePermission(std::addressof(perm)));
return static_cast<ErrorReportSharePermission>(model);
return static_cast<ErrorReportSharePermission>(perm);
}
}