]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/MathAtom.cpp
Fix CSS
[lyx.git] / src / mathed / MathAtom.cpp
index cbf26ec9f764ff4ac03dc84c0038a7dd05fb21c0..10f52174b6f44a73f0d90fa5c9af9b561cf0c233 100644 (file)
@@ -19,12 +19,12 @@ namespace lyx {
 
 
 MathAtom::MathAtom(InsetMath * p)
-       : unique_ptr<InsetMath>(p)
+       : nucleus_(p)
 {}
 
 
 MathAtom::MathAtom(MathAtom const & at)
-       : unique_ptr<InsetMath>(at ? static_cast<InsetMath*>(at->clone()) : nullptr)
+       : nucleus_(at.nucleus_ ? static_cast<InsetMath*>(at->clone()) : nullptr)
 {}