]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_biginset.C
architectural changes to tex2lyx
[lyx.git] / src / mathed / math_biginset.C
index 3f0e11ca463a3cc1258bce1d15d532613c9c83fc..95df7ff00e92768ed6962de1824fe715ae980bdc 100644 (file)
@@ -6,15 +6,17 @@
 #include "math_mathmlstream.h"
 #include "math_streamstr.h"
 
+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));
 }