using std::istringstream;
using std::getline;
using std::istream_iterator;
+using std::auto_ptr;
MathArrayInset::MathArrayInset(string const & name, int m, int n)
}
-InsetBase * MathArrayInset::clone() const
+auto_ptr<InsetBase> MathArrayInset::clone() const
{
- return new MathArrayInset(*this);
+ return auto_ptr<InsetBase>(new MathArrayInset(*this));
}