From d09a7180e7b1d50b059e0506120085c4524d187c Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 25 Aug 2018 21:19:33 +0200 Subject: [PATCH] Make wxHtmlContainerCell ctor explicit No real changes, just make it more difficult to misuse it accidentally. --- include/wx/html/htmlcell.h | 2 +- interface/wx/html/htmlcell.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/wx/html/htmlcell.h b/include/wx/html/htmlcell.h index 2c99923b80..083ebd8e63 100644 --- a/include/wx/html/htmlcell.h +++ b/include/wx/html/htmlcell.h @@ -445,7 +445,7 @@ protected: class WXDLLIMPEXP_HTML wxHtmlContainerCell : public wxHtmlCell { public: - wxHtmlContainerCell(wxHtmlContainerCell *parent); + explicit wxHtmlContainerCell(wxHtmlContainerCell *parent); virtual ~wxHtmlContainerCell(); virtual void Layout(int w) wxOVERRIDE; diff --git a/interface/wx/html/htmlcell.h b/interface/wx/html/htmlcell.h index fe17b29ddd..2f64f36556 100644 --- a/interface/wx/html/htmlcell.h +++ b/interface/wx/html/htmlcell.h @@ -471,7 +471,7 @@ public: /** Constructor. @a parent is pointer to parent container or @NULL. */ - wxHtmlContainerCell(wxHtmlContainerCell* parent); + explicit wxHtmlContainerCell(wxHtmlContainerCell* parent); /** Detach a child cell.