]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_undersetinset.C
architectural changes to tex2lyx
[lyx.git] / src / mathed / math_undersetinset.C
index 03441d8f97458a504dff89c36dc4d5bf7d971259..526981fa3dd3fdf32aeab6b04abd58d7d4021b0a 100644 (file)
@@ -1,19 +1,19 @@
-
 #include "math_undersetinset.h"
 #include "math_mathmlstream.h"
 #include "math_support.h"
 
 
 using std::max;
+using std::auto_ptr;
 
 
 MathUndersetInset::MathUndersetInset()
 {}
 
 
-InsetBase * MathUndersetInset::clone() const
+auto_ptr<InsetBase> MathUndersetInset::clone() const
 {
-       return new MathUndersetInset(*this);
+       return auto_ptr<InsetBase>(new MathUndersetInset(*this));
 }