From 49c46dc796bca4a515de9510fab459907c1c0aa5 Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Fri, 24 Apr 2020 23:22:11 +0100 Subject: [PATCH] Fix typo. --- eeschema/sch_sheet_path.cpp | 2 +- eeschema/sch_sheet_path.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/eeschema/sch_sheet_path.cpp b/eeschema/sch_sheet_path.cpp index 3479bb90c8..014179e3bf 100644 --- a/eeschema/sch_sheet_path.cpp +++ b/eeschema/sch_sheet_path.cpp @@ -470,7 +470,7 @@ SCH_ITEM* SCH_SHEET_LIST::GetItem( const KIID& aID, SCH_SHEET_PATH* aPathOut ) } -SCH_ITEM* SCH_SHEET_LIST::FillItemMap( std::map& aMap ) +void SCH_SHEET_LIST::FillItemMap( std::map& aMap ) { for( const SCH_SHEET_PATH& sheet : *this ) { diff --git a/eeschema/sch_sheet_path.h b/eeschema/sch_sheet_path.h index 6ee6332b85..b2aeed73a4 100644 --- a/eeschema/sch_sheet_path.h +++ b/eeschema/sch_sheet_path.h @@ -352,7 +352,7 @@ public: /** * Fill an item cache for temporary use when many items need to be fetched. */ - SCH_ITEM* FillItemMap( std::map& aMap ); + void FillItemMap( std::map& aMap ); /** * Function AnnotatePowerSymbols