From c0ee987e8bde8afdd78ec543c0216281d5a77574 Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Fri, 7 Jun 2024 10:51:58 +0100 Subject: [PATCH] Fix typo. --- eeschema/sch_marker.cpp | 2 +- eeschema/sch_marker.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/eeschema/sch_marker.cpp b/eeschema/sch_marker.cpp index 98558801bc..0fb568b9f1 100644 --- a/eeschema/sch_marker.cpp +++ b/eeschema/sch_marker.cpp @@ -109,7 +109,7 @@ wxString SCH_MARKER::SerializeToString() const } -SCH_MARKER* SCH_MARKER::DeserializeFromString( const SCH_SHEET_LIST aSheetList, const wxString& data ) +SCH_MARKER* SCH_MARKER::DeserializeFromString( const SCH_SHEET_LIST& aSheetList, const wxString& data ) { wxArrayString props = wxSplit( data, '|' ); VECTOR2I markerPos( (int) strtol( props[1].c_str(), nullptr, 10 ), diff --git a/eeschema/sch_marker.h b/eeschema/sch_marker.h index 840ce5f73a..837636098e 100644 --- a/eeschema/sch_marker.h +++ b/eeschema/sch_marker.h @@ -54,7 +54,7 @@ public: void SwapData( SCH_ITEM* aItem ) override; wxString SerializeToString() const; - static SCH_MARKER* DeserializeFromString( const SCH_SHEET_LIST aSheetList, const wxString& data ); + static SCH_MARKER* DeserializeFromString( const SCH_SHEET_LIST& aSheetList, const wxString& data ); void ViewGetLayers( int aLayers[], int& aCount ) const override;