]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_deliminset.C
architectural changes to tex2lyx
[lyx.git] / src / mathed / math_deliminset.C
index 6fd65e3da4ae562cd94da369421eccceff30f15f..99a8d53277f9b912c1404a82eece081b6d42e286 100644 (file)
@@ -9,6 +9,7 @@
 
 
 using std::max;
+using std::auto_ptr;
 
 namespace {
 
@@ -52,9 +53,9 @@ MathDelimInset::MathDelimInset
 }
 
 
-MathInset * MathDelimInset::clone() const
+auto_ptr<InsetBase> MathDelimInset::clone() const
 {
-       return new MathDelimInset(*this);
+       return auto_ptr<InsetBase>(new MathDelimInset(*this));
 }