#include <config.h>
#include "InsetMathMatrix.h"
-#include "MathArray.h"
+#include "MathData.h"
#include "MathStream.h"
namespace lyx {
-using std::auto_ptr;
-
-
InsetMathMatrix::InsetMathMatrix(InsetMathGrid const & p)
: InsetMathGrid(p)
{}
-auto_ptr<InsetBase> InsetMathMatrix::doClone() const
+Inset * InsetMathMatrix::clone() const
{
- return auto_ptr<InsetBase>(new InsetMathMatrix(*this));
+ return new InsetMathMatrix(*this);
}