Clang warnings.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi dismine@gmail.com 2017-09-20 19:41:12 +03:00
parent 40662bb948
commit 542ab7e648
4 changed files with 4 additions and 12 deletions

View File

@ -36,8 +36,8 @@
class VMainGraphicsScene; class VMainGraphicsScene;
class VNodeDetail; class VNodeDetail;
class VToolSinglePointInitData; struct VToolSinglePointInitData;
class VToolLinePointInitData; struct VToolLinePointInitData;
/** /**
* @brief The VPattern class working with pattern file. * @brief The VPattern class working with pattern file.

View File

@ -186,7 +186,6 @@ VToolSplinePath* VToolSplinePath::Create(QSharedPointer<DialogTool> dialog, VMai
* @brief Create help create tool. * @brief Create help create tool.
* @param initData init data. * @param initData init data.
* @param path spline path. * @param path spline path.
* @param typeCreation way we create this tool.
*/ */
VToolSplinePath* VToolSplinePath::Create(VToolSplinePathInitData &initData, VSplinePath *path) VToolSplinePath* VToolSplinePath::Create(VToolSplinePathInitData &initData, VSplinePath *path)
{ {

View File

@ -130,15 +130,7 @@ VToolLine *VToolLine::Create(QSharedPointer<DialogTool> dialog, VMainGraphicsSce
//--------------------------------------------------------------------------------------------------------------------- //---------------------------------------------------------------------------------------------------------------------
/** /**
* @brief Create help create tool. * @brief Create help create tool.
* @param _id tool id, 0 if tool doesn't exist yet. * @param initData init data.
* @param firstPoint id first line point.
* @param secondPoint id second line point.
* @param typeLine line type.
* @param scene pointer to scene.
* @param doc dom document container.
* @param data container with variables.
* @param parse parser file mode.
* @param typeCreation way we create this tool.
*/ */
VToolLine * VToolLine::Create(VToolLineInitData initData) VToolLine * VToolLine::Create(VToolLineInitData initData)
{ {

View File

@ -52,6 +52,7 @@ class VAbstractNode;
QT_WARNING_PUSH QT_WARNING_PUSH
QT_WARNING_DISABLE_GCC("-Weffc++") QT_WARNING_DISABLE_GCC("-Weffc++")
QT_WARNING_DISABLE_CLANG("-Wdeprecated")
struct VAbstractToolInitData struct VAbstractToolInitData
{ {