]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_atom.C
bug + spped fixes + small stuff
[lyx.git] / src / mathed / math_atom.C
index c77a1512eef3609eb3d6905587f0cb7fecb0963d..bd5cda75be3aec9bbe5a9d2be7819ba77e7e862a 100644 (file)
@@ -13,6 +13,7 @@
 #include "math_atom.h"
 #include "math_inset.h"
 
+using std::swap;
 
 
 MathAtom::MathAtom()
@@ -38,7 +39,7 @@ void MathAtom::operator=(MathAtom const & at)
        if (&at == this)
                return;
        MathAtom tmp(at);
-       std::swap(tmp.nucleus_, nucleus_);
+       swap(tmp.nucleus_, nucleus_);
 }