Remove C++17-ism.
authorCarl Hetherington <cth@carlh.net>
Sun, 24 Sep 2023 14:44:27 +0000 (16:44 +0200)
committerCarl Hetherington <cth@carlh.net>
Sat, 16 Dec 2023 01:07:38 +0000 (02:07 +0100)
src/wx/grok/gpu_config_panel.h

index 87af69ef451da0060c0206405eb6c68be029c072..d3088c924aa1ae6b8902988242c60bbd300df5fc 100644 (file)
@@ -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);