From e218c3872169f42d17b914081a9de2a591c1689a Mon Sep 17 00:00:00 2001 From: Lioncash Date: Sun, 7 Sep 2014 01:59:16 -0400 Subject: [PATCH] DolphinWX: Remove unnecessary unique_ptr get calls in InputConfigDiag --- Source/Core/DolphinWX/InputConfigDiag.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/Core/DolphinWX/InputConfigDiag.cpp b/Source/Core/DolphinWX/InputConfigDiag.cpp index 388801a226..01a3c5e90d 100644 --- a/Source/Core/DolphinWX/InputConfigDiag.cpp +++ b/Source/Core/DolphinWX/InputConfigDiag.cpp @@ -911,13 +911,13 @@ ControlGroupBox::ControlGroupBox(ControllerEmu::ControlGroup* const group, wxWin //options for (auto& groupSetting : group->settings) { - if (groupSetting.get()->high == DEFAULT_HIGH_VALUE) + if (groupSetting->high == DEFAULT_HIGH_VALUE) { PadSettingCheckBox* setting_cbox = new PadSettingCheckBox(parent, groupSetting.get()); - if (groupSetting.get()->is_iterate == true) + if (groupSetting->is_iterate == true) { setting_cbox->wxcontrol->Bind(wxEVT_CHECKBOX, &GamepadPage::AdjustSettingUI, eventsink); - groupSetting.get()->value = 0; + groupSetting->value = 0; } else {