From 946073845c09f9d9bf4d0e505c6b58f5a6f065d7 Mon Sep 17 00:00:00 2001 From: Jon Evans Date: Tue, 23 Feb 2021 22:16:34 -0500 Subject: [PATCH] Fix typo causing Coverity warning --- common/dialogs/dialog_grid_settings.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/dialogs/dialog_grid_settings.cpp b/common/dialogs/dialog_grid_settings.cpp index 3bec9c93f4..55b2a44b3a 100644 --- a/common/dialogs/dialog_grid_settings.cpp +++ b/common/dialogs/dialog_grid_settings.cpp @@ -68,7 +68,7 @@ DIALOG_GRID_SETTINGS::DIALOG_GRID_SETTINGS( EDA_DRAW_FRAME* aParent ): finishDialogSettings(); m_buttonResetSizes->Bind( wxEVT_BUTTON, - [&]( wxCommandEvent ) + [&]( wxCommandEvent& ) { APP_SETTINGS_BASE* settings = m_parent->config(); settings->m_Window.grid.sizes = settings->DefaultGridSizeList();