From 0a8bc96b4211eebfffaeebe8a24909aa3159d082 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sun, 24 Sep 2023 16:44:27 +0200 Subject: Remove C++17-ism. --- src/wx/grok/gpu_config_panel.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') 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); -- cgit v1.2.3