-
#include <config.h>
#include "math_symbolinset.h"
#include "LaTeXFeatures.h"
#include "debug.h"
+using std::auto_ptr;
+
-MathSymbolInset::MathSymbolInset(const latexkeys * l)
+MathSymbolInset::MathSymbolInset(latexkeys const * l)
: sym_(l), h_(0)
{}
-MathSymbolInset::MathSymbolInset(const char * name)
+MathSymbolInset::MathSymbolInset(char const * name)
: sym_(in_word_set(name)), h_(0)
{}
{}
-
-InsetBase * MathSymbolInset::clone() const
+auto_ptr<InsetBase> MathSymbolInset::clone() const
{
- return new MathSymbolInset(*this);
+ return auto_ptr<InsetBase>(new MathSymbolInset(*this));
}