summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinWX/SoftwareVideoConfigDialog.cpp
diff options
context:
space:
mode:
authorMathew Maidment <mathew1800@gmail.com>2016-02-21 04:49:14 -0500
committerMathew Maidment <mathew1800@gmail.com>2016-02-21 04:49:14 -0500
commitbd148e911bdad501032d021bc5a575e3b2d0bfa4 (patch)
tree130b071f62dc22d0e3f2664347752cdda6c5ba3d /Source/Core/DolphinWX/SoftwareVideoConfigDialog.cpp
parent39066b674865031cdf1cd4ac0de279fdd964b0a3 (diff)
parent1d6ee140f0ff70927bb7fce7bae72277a20fa17f (diff)
Merge pull request #3642 from lioncash/backend
VideoBackendBase: Store video backends as unique_ptr
Diffstat (limited to 'Source/Core/DolphinWX/SoftwareVideoConfigDialog.cpp')
-rw-r--r--Source/Core/DolphinWX/SoftwareVideoConfigDialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/DolphinWX/SoftwareVideoConfigDialog.cpp b/Source/Core/DolphinWX/SoftwareVideoConfigDialog.cpp
index b09d2b4e90..86f55d391b 100644
--- a/Source/Core/DolphinWX/SoftwareVideoConfigDialog.cpp
+++ b/Source/Core/DolphinWX/SoftwareVideoConfigDialog.cpp
@@ -61,7 +61,7 @@ SoftwareVideoConfigDialog::SoftwareVideoConfigDialog(wxWindow* parent, const std
wxStaticText* const label_backend = new wxStaticText(page_general, wxID_ANY, _("Backend:"));
wxChoice* const choice_backend = new wxChoice(page_general, wxID_ANY);
- for (const VideoBackendBase* backend : g_available_video_backends)
+ for (const auto& backend : g_available_video_backends)
{
choice_backend->AppendString(StrToWxStr(backend->GetDisplayName()));
}