]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_ertinset.C
architectural changes to tex2lyx
[lyx.git] / src / mathed / math_ertinset.C
index b82344947d11c9ed5af1cacc6ddd851038979606..3c61de522587da74c65770e8d91b6df1a6dafb2e 100644 (file)
@@ -1,14 +1,15 @@
-
 #include <config.h>
 
 #include "math_ertinset.h"
 #include "math_mathmlstream.h"
 #include "support/LOstream.h"
 
+using std::auto_ptr;
+
 
-InsetBase * MathErtInset::clone() const
+auto_ptr<InsetBase> MathErtInset::clone() const
 {
-       return new MathErtInset(*this);
+       return auto_ptr<InsetBase>(new MathErtInset(*this));
 }