]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_lefteqninset.C
architectural changes to tex2lyx
[lyx.git] / src / mathed / math_lefteqninset.C
index af2037187504544907c8f89f4fb8871973ef130c..d53cefbf0e94bd134e53e756c01f2a7cb8032bcc 100644 (file)
@@ -1,17 +1,18 @@
-
 #include "math_lefteqninset.h"
 #include "math_support.h"
 #include "support/LOstream.h"
 
+using std::auto_ptr;
+
 
 MathLefteqnInset::MathLefteqnInset()
        : MathNestInset(1)
 {}
 
 
-MathInset * MathLefteqnInset::clone() const
+auto_ptr<InsetBase> MathLefteqnInset::clone() const
 {
-       return new MathLefteqnInset(*this);
+       return auto_ptr<InsetBase>(new MathLefteqnInset(*this));
 }