#include "support/LOstream.h"
#include "textpainter.h"
+using std::auto_ptr;
+
MathCommentInset::MathCommentInset()
: MathNestInset(1)
}
-InsetBase * MathCommentInset::clone() const
+auto_ptr<InsetBase> MathCommentInset::clone() const
{
- return new MathCommentInset(*this);
+ return auto_ptr<InsetBase>(new MathCommentInset(*this));
}