From 7240128130d90d2cbae653ae2fa2a99403ac0e0a Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Mon, 4 Aug 2025 16:43:22 +0100 Subject: [PATCH] Formatting. --- include/embedded_files.h | 10 +++++----- pcbnew/footprint.cpp | 3 ++- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/include/embedded_files.h b/include/embedded_files.h index 1f03c19ecf..fa853ed930 100644 --- a/include/embedded_files.h +++ b/include/embedded_files.h @@ -110,14 +110,14 @@ public: delete file.second; } - using FileAddedCallback = std::function; + using FILE_ADDED_CALLBACK = std::function; - void SetFileAddedCallback(FileAddedCallback callback) + void SetFileAddedCallback( FILE_ADDED_CALLBACK callback ) { m_fileAddedCallback = callback; } - FileAddedCallback GetFileAddedCallback() const + FILE_ADDED_CALLBACK GetFileAddedCallback() const { return m_fileAddedCallback; } @@ -264,13 +264,13 @@ public: return 0xABBA2345; } - EMBEDDED_FILES& operator=(EMBEDDED_FILES&& other) noexcept; + EMBEDDED_FILES& operator=( EMBEDDED_FILES&& other ) noexcept; EMBEDDED_FILES& operator=( const EMBEDDED_FILES& other ); private: std::map m_files; std::vector m_fontFiles; - FileAddedCallback m_fileAddedCallback; + FILE_ADDED_CALLBACK m_fileAddedCallback; protected: bool m_embedFonts = false; ///< If set, fonts will be embedded in the element on save. diff --git a/pcbnew/footprint.cpp b/pcbnew/footprint.cpp index 1288a1a364..79de31b353 100644 --- a/pcbnew/footprint.cpp +++ b/pcbnew/footprint.cpp @@ -109,7 +109,8 @@ FOOTPRINT::FOOTPRINT( BOARD* parent ) : FOOTPRINT::FOOTPRINT( const FOOTPRINT& aFootprint ) : - BOARD_ITEM_CONTAINER( aFootprint ), EMBEDDED_FILES( aFootprint ), + BOARD_ITEM_CONTAINER( aFootprint ), + EMBEDDED_FILES( aFootprint ), m_componentClassCacheProxy( std::make_unique( this ) ) { m_orient = aFootprint.m_orient;