diff options
| author | Lioncash <mathew1800@gmail.com> | 2016-02-15 21:29:24 -0500 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2016-02-20 19:07:40 -0500 |
| commit | 1d6ee140f0ff70927bb7fce7bae72277a20fa17f (patch) | |
| tree | e97d9de90b7418509a94ad15e826c5cbfdbc63e8 /Source/Core/DolphinWX/SoftwareVideoConfigDialog.cpp | |
| parent | 3b23eb24c4661c75ae418ca03e8f924902f250f4 (diff) | |
VideoBackendBase: Store video backends as unique_ptr
Diffstat (limited to 'Source/Core/DolphinWX/SoftwareVideoConfigDialog.cpp')
| -rw-r--r-- | Source/Core/DolphinWX/SoftwareVideoConfigDialog.cpp | 2 |
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())); } |
