]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_binominset.C
architectural changes to tex2lyx
[lyx.git] / src / mathed / math_binominset.C
index fd7aa7ad73fecadfabc696af88467d0438555371..cce26181baf0343dbab66fa3a83932e7ce891923 100644 (file)
@@ -7,6 +7,7 @@
 
 
 using std::max;
+using std::auto_ptr;
 
 
 MathBinomInset::MathBinomInset(bool choose)
@@ -14,9 +15,9 @@ MathBinomInset::MathBinomInset(bool choose)
 {}
 
 
-MathInset * MathBinomInset::clone() const
+auto_ptr<InsetBase> MathBinomInset::clone() const
 {
-       return new MathBinomInset(*this);
+       return auto_ptr<InsetBase>(new MathBinomInset(*this));
 }