Cppcheck warnings.
--HG-- branch : feature
This commit is contained in:
parent
64c2026e6a
commit
e93eacc655
|
@ -43,7 +43,7 @@ QT_WARNING_DISABLE_GCC("-Weffc++")
|
|||
class VPieceData : public QSharedData
|
||||
{
|
||||
public:
|
||||
VPieceData(PiecePathType type)
|
||||
explicit VPieceData(PiecePathType type)
|
||||
: m_path(type),
|
||||
m_mx(0),
|
||||
m_my(0),
|
||||
|
|
|
@ -47,7 +47,7 @@ class VPiecePath
|
|||
{
|
||||
public:
|
||||
VPiecePath();
|
||||
VPiecePath(PiecePathType type);
|
||||
explicit VPiecePath(PiecePathType type);
|
||||
VPiecePath(const VPiecePath &path);
|
||||
VPiecePath &operator=(const VPiecePath &path);
|
||||
~VPiecePath();
|
||||
|
|
|
@ -47,7 +47,7 @@ public:
|
|||
m_name()
|
||||
{}
|
||||
|
||||
VPiecePathData(PiecePathType type)
|
||||
explicit VPiecePathData(PiecePathType type)
|
||||
: m_nodes(),
|
||||
m_type(type),
|
||||
m_name()
|
||||
|
|
Loading…
Reference in New Issue
Block a user