diff --git a/include/netclass.h b/include/netclass.h index d7501f0de3..8960688b57 100644 --- a/include/netclass.h +++ b/include/netclass.h @@ -62,7 +62,7 @@ public: return wxT( "NETCLASS" ); } - const wxString& GetName() const { return m_Name; } + const wxString GetName() const { return m_Name; } void SetName( const wxString& aName ) { m_Name = aName; } /**