From: Stefan Csomor Date: Thu, 20 Jan 2011 08:38:36 +0000 (+0000) Subject: using explicit fixes #12689 X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/4472e2b6b73ad13d106a5fe51b2bb420b0444592 using explicit fixes #12689 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66724 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/arrstr.h b/include/wx/arrstr.h index bd37a1f000..63b8cf80d0 100644 --- a/include/wx/arrstr.h +++ b/include/wx/arrstr.h @@ -252,7 +252,7 @@ public: public: pointer m_ptr; reverse_iterator() : m_ptr(NULL) { } - reverse_iterator(pointer ptr) : m_ptr(ptr) { } + wxEXPLICIT reverse_iterator(pointer ptr) : m_ptr(ptr) { } reverse_iterator(const itor& it) : m_ptr(it.m_ptr) { } reference operator*() const { return *m_ptr; } pointer operator->() const { return m_ptr; } @@ -278,7 +278,7 @@ public: public: pointer m_ptr; const_reverse_iterator() : m_ptr(NULL) { } - const_reverse_iterator(pointer ptr) : m_ptr(ptr) { } + wxEXPLICIT const_reverse_iterator(pointer ptr) : m_ptr(ptr) { } const_reverse_iterator(const itor& it) : m_ptr(it.m_ptr) { } const_reverse_iterator(const reverse_iterator& it) : m_ptr(it.m_ptr) { } reference operator*() const { return *m_ptr; }