X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FMathAtom.cpp;h=a8483ea212cd0b07e91840dbfd05420282dc93e5;hb=02e82157ec583c3900e359de86be79fac6512387;hp=cd476cdb29f5d9a3397332dfcf962a1cd8d75d52;hpb=ed858d73e57ce7aa89e38c1bc4d799362edb0227;p=lyx.git diff --git a/src/mathed/MathAtom.cpp b/src/mathed/MathAtom.cpp index cd476cdb29..a8483ea212 100644 --- a/src/mathed/MathAtom.cpp +++ b/src/mathed/MathAtom.cpp @@ -3,7 +3,7 @@ * This file is part of LyX, the document processor. * Licence details can be found in the file COPYING. * - * \author André Pönitz + * \author André Pönitz * * Full author contact details are available in file CREDITS. */ @@ -13,19 +13,18 @@ #include "MathAtom.h" #include "InsetMath.h" +using namespace std; namespace lyx { -using std::swap; - MathAtom::MathAtom() : nucleus_(0) {} -MathAtom::MathAtom(Inset * p) - : nucleus_(static_cast(p)) +MathAtom::MathAtom(InsetMath * p) + : nucleus_(p) {}