Use ctor-initializer rather than assignment for non-POD class members
This commit is contained in:
@@ -803,9 +803,9 @@ wxString wxHtmlHelpData::FindPageById(int id)
|
||||
wxHtmlSearchStatus::wxHtmlSearchStatus(wxHtmlHelpData* data, const wxString& keyword,
|
||||
bool case_sensitive, bool whole_words_only,
|
||||
const wxString& book)
|
||||
: m_Keyword(keyword)
|
||||
{
|
||||
m_Data = data;
|
||||
m_Keyword = keyword;
|
||||
wxHtmlBookRecord* bookr = NULL;
|
||||
if (!book.empty())
|
||||
{
|
||||
|
Reference in New Issue
Block a user