]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_atom.C
revert Buffer LyxText->InsetText commit
[lyx.git] / src / mathed / math_atom.C
index 6706b33cbc1b6717399ac761a608a8940360d123..bd5cda75be3aec9bbe5a9d2be7819ba77e7e862a 100644 (file)
@@ -12,9 +12,8 @@
 
 #include "math_atom.h"
 #include "math_inset.h"
-#include "insets/insetbase.h"
 
-#include <utility>
+using std::swap;
 
 
 MathAtom::MathAtom()
@@ -40,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_);
 }