From db55e9f6b1938cf711ced30ca12373932603a8b8 Mon Sep 17 00:00:00 2001 From: Michael Scire Date: Thu, 16 Apr 2020 09:04:55 -0700 Subject: [PATCH] settings: fix duplicate object name --- ...settings_error_report.cpp => settings_error_report_impl.cpp} | 0 .../libstratosphere/source/settings/settings_error_report.cpp | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename libraries/libstratosphere/source/settings/impl/{settings_error_report.cpp => settings_error_report_impl.cpp} (100%) diff --git a/libraries/libstratosphere/source/settings/impl/settings_error_report.cpp b/libraries/libstratosphere/source/settings/impl/settings_error_report_impl.cpp similarity index 100% rename from libraries/libstratosphere/source/settings/impl/settings_error_report.cpp rename to libraries/libstratosphere/source/settings/impl/settings_error_report_impl.cpp diff --git a/libraries/libstratosphere/source/settings/settings_error_report.cpp b/libraries/libstratosphere/source/settings/settings_error_report.cpp index f1b8ff528..c11d2936d 100644 --- a/libraries/libstratosphere/source/settings/settings_error_report.cpp +++ b/libraries/libstratosphere/source/settings/settings_error_report.cpp @@ -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(model); + return static_cast(perm); } }