// Purpose: scoped smart pointer class
// Author: Vadim Zeitlin
// Created: 2009-02-03
-// RCS-ID: $Id$
// Copyright: (c) Jesse Lovelace and original Boost authors (see below)
// (c) 2009 Vadim Zeitlin
// Licence: wxWindows licence
{
if ( array != m_array )
{
- delete m_array;
+ delete [] m_array;
m_array = array;
}
}