Browse Source

Fix some fall-out from the non-reference GetText().

pull/13/head
Jeff Young 7 years ago
parent
commit
d90d0780ae
  1. 4
      pcbnew/class_module.h

4
pcbnew/class_module.h

@ -459,7 +459,7 @@ public:
* Function GetReference * Function GetReference
* @return const wxString& - the reference designator text. * @return const wxString& - the reference designator text.
*/ */
const wxString& GetReference() const
const wxString GetReference() const
{ {
return m_Reference->GetText(); return m_Reference->GetText();
} }
@ -484,7 +484,7 @@ public:
* Function GetValue * Function GetValue
* @return const wxString& - the value text. * @return const wxString& - the value text.
*/ */
const wxString& GetValue() const
const wxString GetValue() const
{ {
return m_Value->GetText(); return m_Value->GetText();
} }

Loading…
Cancel
Save