@@ -40,7 +40,7 @@ class wxScopedPtr
|
||||
public:
|
||||
typedef T element_type;
|
||||
|
||||
wxEXPLICIT wxScopedPtr(T * ptr = NULL) : m_ptr(ptr) { }
|
||||
explicit wxScopedPtr(T * ptr = NULL) : m_ptr(ptr) { }
|
||||
|
||||
~wxScopedPtr() { wxCHECKED_DELETE(m_ptr); }
|
||||
|
||||
@@ -123,7 +123,7 @@ private: \
|
||||
name & operator=(name const &); \
|
||||
\
|
||||
public: \
|
||||
wxEXPLICIT name(T * ptr = NULL) \
|
||||
explicit name(T * ptr = NULL) \
|
||||
: m_ptr(ptr) { } \
|
||||
\
|
||||
~name(); \
|
||||
|
Reference in New Issue
Block a user