diff --git a/eeschema/sch_pin.cpp b/eeschema/sch_pin.cpp index 62e5d48c6f..bb5e508362 100644 --- a/eeschema/sch_pin.cpp +++ b/eeschema/sch_pin.cpp @@ -50,6 +50,8 @@ 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; }