+/**
+ * \file math_biginset.C
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
+ *
+ * \author André Pönitz
+ *
+ * Full author contact details are available in file CREDITS.
+ */
+
#include <config.h>
#include "math_biginset.h"
#include "math_support.h"
-#include "math_parser.h"
#include "math_mathmlstream.h"
#include "math_streamstr.h"
+using std::string;
+using std::auto_ptr;
+
+
MathBigInset::MathBigInset(string const & name, string const & delim)
: name_(name), delim_(delim)
{}
-InsetBase * MathBigInset::clone() const
+auto_ptr<InsetBase> MathBigInset::clone() const
{
- return new MathBigInset(*this);
+ return auto_ptr<InsetBase>(new MathBigInset(*this));
}