Fixed explicit making cppcheck fail and some lineendings

(cherry picked from commit 25178d9dcb)
This commit is contained in:
Jan Möbius
2017-02-02 13:53:46 +01:00
parent 57bc372adc
commit fd5b60fcba
10 changed files with 315 additions and 315 deletions

View File

@@ -74,7 +74,7 @@ using namespace std;
class GnuplotException : public runtime_error
{
public:
GnuplotException(const string &msg) : runtime_error(msg){}
explicit GnuplotException(const string &msg) : runtime_error(msg){}
};
// ----------------------------------------------------------------------------
@@ -113,7 +113,7 @@ public:
Gnuplot();
/// Set a style during construction.
Gnuplot(const string & _style);
explicit Gnuplot(const string & _style);
/// Constructor calling plot_xy().
Gnuplot(const string & _title,

View File

@@ -80,7 +80,7 @@ class MeshCheckerT
public:
/// constructor
MeshCheckerT(const Mesh& _mesh) : mesh_(_mesh) {}
explicit MeshCheckerT(const Mesh& _mesh) : mesh_(_mesh) {}
/// destructor
~MeshCheckerT() {}