-
#include "math_sqrtinset.h"
#include "math_mathmlstream.h"
#include "LColor.h"
#include "frontends/Painter.h"
#include "textpainter.h"
+using std::auto_ptr;
+
MathSqrtInset::MathSqrtInset()
: MathNestInset(1)
{}
-InsetBase * MathSqrtInset::clone() const
+auto_ptr<InsetBase> MathSqrtInset::clone() const
{
- return new MathSqrtInset(*this);
+ return auto_ptr<InsetBase>(new MathSqrtInset(*this));
}