@@ -24,8 +24,8 @@ class wxScopedArray
 | 
			
		||||
public:
 | 
			
		||||
    typedef T element_type;
 | 
			
		||||
 | 
			
		||||
    wxEXPLICIT wxScopedArray(T * array = NULL) : m_array(array) { }
 | 
			
		||||
    wxEXPLICIT wxScopedArray(size_t count) : m_array(new T[count]) { }
 | 
			
		||||
    explicit wxScopedArray(T * array = NULL) : m_array(array) { }
 | 
			
		||||
    explicit wxScopedArray(size_t count) : m_array(new T[count]) { }
 | 
			
		||||
 | 
			
		||||
    ~wxScopedArray() { delete [] m_array; }
 | 
			
		||||
 | 
			
		||||
@@ -77,7 +77,7 @@ private:                            \
 | 
			
		||||
    name & operator=(name const &); \
 | 
			
		||||
                                    \
 | 
			
		||||
public:                             \
 | 
			
		||||
    wxEXPLICIT name(T * p = NULL) : m_ptr(p) \
 | 
			
		||||
    explicit name(T * p = NULL) : m_ptr(p) \
 | 
			
		||||
    {}                              \
 | 
			
		||||
                                    \
 | 
			
		||||
    ~name();                        \
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user