From d90d0780ae692f81e50f77c39bc6a81a0ea43aa6 Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Wed, 3 Apr 2019 19:13:47 +0100 Subject: [PATCH] Fix some fall-out from the non-reference GetText(). --- pcbnew/class_module.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pcbnew/class_module.h b/pcbnew/class_module.h index 7f1df4b58e..1cd94a02a0 100644 --- a/pcbnew/class_module.h +++ b/pcbnew/class_module.h @@ -459,7 +459,7 @@ public: * Function GetReference * @return const wxString& - the reference designator text. */ - const wxString& GetReference() const + const wxString GetReference() const { return m_Reference->GetText(); } @@ -484,7 +484,7 @@ public: * Function GetValue * @return const wxString& - the value text. */ - const wxString& GetValue() const + const wxString GetValue() const { return m_Value->GetText(); }