-
#include "math_fracinset.h"
#include "math_support.h"
#include "frontends/Painter.h"
using std::max;
+using std::auto_ptr;
MathFracInset::MathFracInset(bool atop)
{}
-MathInset * MathFracInset::clone() const
+auto_ptr<InsetBase> MathFracInset::clone() const
{
- return new MathFracInset(*this);
+ return auto_ptr<InsetBase>(new MathFracInset(*this));
}