From d35e516fd5ed031b61f1aa77dd18bf7b2743bafe Mon Sep 17 00:00:00 2001 From: Paul Cornett Date: Sun, 28 May 2017 23:29:10 -0700 Subject: [PATCH] Use compiler-generated copy ctor and assignment operator for wxHtmlLinkInfo --- include/wx/html/htmlcell.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/include/wx/html/htmlcell.h b/include/wx/html/htmlcell.h index a9e6612688..71cb034162 100644 --- a/include/wx/html/htmlcell.h +++ b/include/wx/html/htmlcell.h @@ -652,12 +652,6 @@ public: { m_Href = m_Target = wxEmptyString; m_Event = NULL; m_Cell = NULL; } wxHtmlLinkInfo(const wxString& href, const wxString& target = wxEmptyString) : wxObject() { m_Href = href; m_Target = target; m_Event = NULL; m_Cell = NULL; } - wxHtmlLinkInfo(const wxHtmlLinkInfo& l) : wxObject() - { m_Href = l.m_Href; m_Target = l.m_Target; m_Event = l.m_Event; - m_Cell = l.m_Cell; } - wxHtmlLinkInfo& operator=(const wxHtmlLinkInfo& l) - { m_Href = l.m_Href; m_Target = l.m_Target; m_Event = l.m_Event; - m_Cell = l.m_Cell; return *this; } void SetEvent(const wxMouseEvent *e) { m_Event = e; } void SetHtmlCell(const wxHtmlCell *e) { m_Cell = e; }