diff options
| author | Carl Hetherington <cth@carlh.net> | 2023-09-24 16:44:27 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2023-10-18 13:46:50 +0200 |
| commit | 9a44789407978765651793053e65cc2ce8045d61 (patch) | |
| tree | ebb8949fc7010e0f259b2b30de123a448abb6f9f /src | |
| parent | bd83d491b6881377ec58572767169f519f59735f (diff) | |
Remove C++17-ism.
Diffstat (limited to 'src')
| -rw-r--r-- | src/wx/grok/gpu_config_panel.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/wx/grok/gpu_config_panel.h b/src/wx/grok/gpu_config_panel.h index 87af69ef4..d3088c924 100644 --- a/src/wx/grok/gpu_config_panel.h +++ b/src/wx/grok/gpu_config_panel.h @@ -56,7 +56,8 @@ public: } private: - void OnComboBox([[maybe_unused]] wxCommandEvent& event) { + void OnComboBox(wxCommandEvent&) + { selection = comboBox->GetSelection(); if (selection != wxNOT_FOUND) Config::instance ()->set_selected_gpu(selection); |
