Cppcheck warnings.

--HG--
branch : feature
This commit is contained in:
Roman Telezhynskyi 2016-12-03 13:31:59 +02:00
parent 64c2026e6a
commit e93eacc655
3 changed files with 3 additions and 3 deletions

View File

@ -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),

View File

@ -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();

View File

@ -47,7 +47,7 @@ public:
m_name()
{}
VPiecePathData(PiecePathType type)
explicit VPiecePathData(PiecePathType type)
: m_nodes(),
m_type(type),
m_name()