From 9f51f7b0550633c864b251ecfa7f5028db453919 Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Fri, 25 Jun 2021 16:41:21 +0100 Subject: [PATCH] Formatting and include cleanup. --- pcbnew/footprint_info_impl.cpp | 12 +++++------- pcbnew/io_mgr.h | 2 +- pcbnew/pcbnew.cpp | 4 ---- 3 files changed, 6 insertions(+), 12 deletions(-) diff --git a/pcbnew/footprint_info_impl.cpp b/pcbnew/footprint_info_impl.cpp index aa6907ccc4..61ee5bfb75 100644 --- a/pcbnew/footprint_info_impl.cpp +++ b/pcbnew/footprint_info_impl.cpp @@ -26,10 +26,8 @@ #include #include #include -#include #include #include -#include #include #include #include @@ -39,7 +37,6 @@ #include #include -#include void FOOTPRINT_INFO_IMPL::load() @@ -103,10 +100,11 @@ void FOOTPRINT_LIST_IMPL::loader_job() while( m_queue_in.pop( nickname ) && !m_cancelled ) { - CatchErrors( [this, &nickname]() { - m_lib_table->PrefetchLib( nickname ); - m_queue_out.push( nickname ); - } ); + CatchErrors( [this, &nickname]() + { + m_lib_table->PrefetchLib( nickname ); + m_queue_out.push( nickname ); + } ); m_count_finished.fetch_add( 1 ); diff --git a/pcbnew/io_mgr.h b/pcbnew/io_mgr.h index bba94a19f6..7714167bc8 100644 --- a/pcbnew/io_mgr.h +++ b/pcbnew/io_mgr.h @@ -385,7 +385,7 @@ public: * @throw IO_ERROR if there is an error prefetching the library. */ virtual void PrefetchLib( const wxString& aLibraryPath, - const PROPERTIES* aProperties = nullptr ); + const PROPERTIES* aProperties = nullptr ); /** * Load a footprint having @a aFootprintName from the @a aLibraryPath containing a library diff --git a/pcbnew/pcbnew.cpp b/pcbnew/pcbnew.cpp index 4f25a09208..46ed89f9a7 100644 --- a/pcbnew/pcbnew.cpp +++ b/pcbnew/pcbnew.cpp @@ -36,12 +36,9 @@ #include #include #include -#include -#include #include #include #include -#include #include #include #include @@ -52,7 +49,6 @@ #include #include #include -#include #include #include "invoke_pcb_dialog.h"