-
#include "math_splitinset.h"
#include "math_mathmlstream.h"
#include "math_streamstr.h"
+using std::auto_ptr;
+
MathSplitInset::MathSplitInset(string const & name)
: MathGridInset(1, 1), name_(name)
}
-MathInset * MathSplitInset::clone() const
+auto_ptr<InsetBase> MathSplitInset::clone() const
{
- return new MathSplitInset(*this);
+ return auto_ptr<InsetBase>(new MathSplitInset(*this));
}