Added wxVector::swap().
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61415 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
		@@ -195,6 +195,13 @@ public:
 | 
			
		||||
        clear();
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    void swap(wxVector& v)
 | 
			
		||||
    {
 | 
			
		||||
        wxSwap(m_size, v.m_size);
 | 
			
		||||
        wxSwap(m_capacity, v.m_capacity);
 | 
			
		||||
        wxSwap(m_values, v.m_values);
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    void clear()
 | 
			
		||||
    {
 | 
			
		||||
        // call destructors of stored objects:
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user