Cleanup: auto.
authorCarl Hetherington <cth@carlh.net>
Tue, 2 Jan 2024 00:58:21 +0000 (01:58 +0100)
committerCarl Hetherington <cth@carlh.net>
Tue, 2 Jan 2024 00:58:21 +0000 (01:58 +0100)
src/wx/kdm_cpl_panel.cc

index 2a307c60cb84ea30c31e88307c0aa2b388232771..4b481427f5a13edc91279164eaa151c56acd7754 100644 (file)
@@ -49,7 +49,7 @@ KDMCPLPanel::KDMCPLPanel (wxWindow* parent, vector<CPLSummary> cpls)
        vertical->Add (s, 0, wxEXPAND | wxTOP, DCPOMATIC_SIZER_GAP + 2);
 
        /* CPL details */
-       wxFlexGridSizer* table = new wxFlexGridSizer (2, DCPOMATIC_SIZER_X_GAP, DCPOMATIC_SIZER_Y_GAP);
+       auto table = new wxFlexGridSizer(2, DCPOMATIC_SIZER_X_GAP, DCPOMATIC_SIZER_Y_GAP);
        add_label_to_sizer (table, this, _("DCP directory"), true);
        _dcp_directory = new StaticText (this, "");
        table->Add (_dcp_directory);