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