kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #40233
[PATCH] Add return value to SCH_PIN::operator=
---
eeschema/sch_pin.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/eeschema/sch_pin.cpp b/eeschema/sch_pin.cpp
index 62e5d48c6f..0e9facd35d 100644
--- a/eeschema/sch_pin.cpp
+++ b/eeschema/sch_pin.cpp
@@ -50,6 +50,7 @@ SCH_PIN& SCH_PIN::operator=( const SCH_PIN& aPin )
m_libPin = aPin.m_libPin;
m_position = aPin.m_position;
m_isDangling = aPin.m_isDangling;
+ return *this;
}
Follow ups