Remove 'using namespace std;' from the qglviewer files

This commit is contained in:
Andreas Fabri 2018-05-31 09:44:49 +01:00
parent cb6016db88
commit f5b6ec67ef
9 changed files with 2 additions and 11 deletions

View File

@ -36,7 +36,6 @@
#include <CGAL/Qt/domUtils.h>
#include <CGAL/Qt/keyFrameInterpolator.h>
using namespace std;
using namespace CGAL::qglviewer;
/*! Default constructor.

View File

@ -36,7 +36,6 @@
#include <CGAL/Qt/camera.h>
using namespace CGAL::qglviewer;
using namespace std;
////////////////////////////////////////////////////////////////////////////////
// Constraint //

View File

@ -37,7 +37,6 @@
#include <math.h>
using namespace CGAL::qglviewer;
using namespace std;
/*! Creates a default Frame.

View File

@ -34,7 +34,6 @@
#include <CGAL/Qt/domUtils.h>
using namespace CGAL::qglviewer;
using namespace std;
/*! Creates a KeyFrameInterpolator, with \p frame as associated frame().

View File

@ -39,7 +39,6 @@
#include <QMouseEvent>
using namespace CGAL::qglviewer;
using namespace std;
/*! Default constructor.

View File

@ -41,7 +41,6 @@
#include <QMouseEvent>
using namespace CGAL::qglviewer;
using namespace std;
/*! Default constructor.

View File

@ -59,7 +59,6 @@
#include <QOpenGLFramebufferObject>
#include <QFileDialog>
using namespace std;
using namespace CGAL::qglviewer;
// Static private variable

View File

@ -37,7 +37,6 @@
// All the methods are declared inline in Quaternion.h
using namespace CGAL::qglviewer;
using namespace std;
/*! Constructs a Quaternion that will rotate from the \p from direction to the
\p to direction.
@ -533,7 +532,7 @@ Quaternion Quaternion::squadTangent(const Quaternion &before,
}
CGAL_INLINE_FUNCTION
ostream &operator<<(ostream &o, const Quaternion &Q) {
std::ostream &operator<<(std::ostream &o, const Quaternion &Q) {
return o << Q[0] << '\t' << Q[1] << '\t' << Q[2] << '\t' << Q[3];
}

View File

@ -37,7 +37,6 @@
// Most of the methods are declared inline in vec.h
using namespace CGAL::qglviewer;
using namespace std;
/*! Projects the Vec on the axis of direction \p direction that passes through
the origin.
@ -178,6 +177,6 @@ void Vec::initFromDOMElement(const QDomElement &element) {
}
CGAL_INLINE_FUNCTION
ostream &operator<<(ostream &o, const Vec &v) {
std::ostream &operator<<(std::ostream &o, const Vec &v) {
return o << v.x << '\t' << v.y << '\t' << v.z;
}