From 4408897b875385455f4acefef6c385c2ee5c2f5b Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Tue, 16 Feb 2021 15:17:02 +0000 Subject: [PATCH] Formatting. --- eeschema/sim/sim_plot_frame.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/eeschema/sim/sim_plot_frame.cpp b/eeschema/sim/sim_plot_frame.cpp index 94b00d1162..f89d2212a2 100644 --- a/eeschema/sim/sim_plot_frame.cpp +++ b/eeschema/sim/sim_plot_frame.cpp @@ -41,7 +41,6 @@ #include "spice_simulator.h" #include "spice_reporter.h" #include -#include #include #include #include @@ -242,7 +241,7 @@ SIM_PLOT_FRAME::~SIM_PLOT_FRAME() void SIM_PLOT_FRAME::SaveSettings( APP_SETTINGS_BASE* aCfg ) { - auto cfg = dynamic_cast( aCfg ); + EESCHEMA_SETTINGS* cfg = dynamic_cast( aCfg ); wxASSERT( cfg ); if( cfg ) @@ -260,7 +259,7 @@ void SIM_PLOT_FRAME::SaveSettings( APP_SETTINGS_BASE* aCfg ) void SIM_PLOT_FRAME::LoadSettings( APP_SETTINGS_BASE* aCfg ) { - auto cfg = dynamic_cast( aCfg ); + EESCHEMA_SETTINGS* cfg = dynamic_cast( aCfg ); wxASSERT( cfg ); if( cfg ) @@ -279,7 +278,7 @@ void SIM_PLOT_FRAME::LoadSettings( APP_SETTINGS_BASE* aCfg ) WINDOW_SETTINGS* SIM_PLOT_FRAME::GetWindowSettings( APP_SETTINGS_BASE* aCfg ) { - auto cfg = dynamic_cast( aCfg ); + EESCHEMA_SETTINGS* cfg = dynamic_cast( aCfg ); wxASSERT( cfg ); return cfg ? &cfg->m_Simulator.window : nullptr; @@ -1600,8 +1599,9 @@ void SIM_PLOT_FRAME::onSimReport( wxCommandEvent& aEvent ) SIM_PLOT_FRAME::SIGNAL_CONTEXT_MENU::SIGNAL_CONTEXT_MENU( const wxString& aSignal, - SIM_PLOT_FRAME* aPlotFrame ) - : m_signal( aSignal ), m_plotFrame( aPlotFrame ) + SIM_PLOT_FRAME* aPlotFrame ) : + m_signal( aSignal ), + m_plotFrame( aPlotFrame ) { SIM_PLOT_PANEL* plot = m_plotFrame->CurrentPlot();