Use ctor-initializer rather than assignment for non-POD class members
This commit is contained in:
@@ -32,7 +32,7 @@ private:
|
||||
|
||||
public:
|
||||
wxHtmlAnchorCell(const wxString& name) : wxHtmlCell()
|
||||
{ m_AnchorName = name; }
|
||||
, m_AnchorName(name) { }
|
||||
void Draw(wxDC& WXUNUSED(dc),
|
||||
int WXUNUSED(x), int WXUNUSED(y),
|
||||
int WXUNUSED(view_y1), int WXUNUSED(view_y2),
|
||||
|
||||
Reference in New Issue
Block a user