Fixed explicit making cppcheck fail and some lineendings
(cherry picked from commit 25178d9dcb)
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -80,7 +80,7 @@ class MeshCheckerT
|
||||
public:
|
||||
|
||||
/// constructor
|
||||
MeshCheckerT(const Mesh& _mesh) : mesh_(_mesh) {}
|
||||
explicit MeshCheckerT(const Mesh& _mesh) : mesh_(_mesh) {}
|
||||
|
||||
/// destructor
|
||||
~MeshCheckerT() {}
|
||||
|
||||
Reference in New Issue
Block a user