Clang warnings.
--HG-- branch : develop
This commit is contained in:
parent
73ad3a8376
commit
eaa1744262
|
@ -231,6 +231,7 @@ void DialogRotation::ChosenObject(quint32 id, const SceneObject &type)
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
void DialogRotation::SelectedObject(bool selected, quint32 object, quint32 tool)
|
void DialogRotation::SelectedObject(bool selected, quint32 object, quint32 tool)
|
||||||
{
|
{
|
||||||
|
Q_UNUSED(tool)
|
||||||
if (stage1)
|
if (stage1)
|
||||||
{
|
{
|
||||||
if (selected)
|
if (selected)
|
||||||
|
|
|
@ -291,7 +291,6 @@ qreal VDrawTool::CheckFormula(const quint32 &toolId, QString &formula, VContaine
|
||||||
{
|
{
|
||||||
SCASSERT(data != nullptr)
|
SCASSERT(data != nullptr)
|
||||||
qreal result = 0;
|
qreal result = 0;
|
||||||
Calculator *cal = nullptr;
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
QScopedPointer<Calculator> cal(new Calculator());
|
QScopedPointer<Calculator> cal(new Calculator());
|
||||||
|
|
|
@ -47,9 +47,8 @@ public:
|
||||||
virtual ~VAbstractNode() Q_DECL_OVERRIDE {}
|
virtual ~VAbstractNode() Q_DECL_OVERRIDE {}
|
||||||
static const QString AttrIdTool;
|
static const QString AttrIdTool;
|
||||||
virtual void ShowVisualization(bool show) Q_DECL_OVERRIDE;
|
virtual void ShowVisualization(bool show) Q_DECL_OVERRIDE;
|
||||||
|
virtual void incrementReferens() Q_DECL_OVERRIDE;
|
||||||
void incrementReferens();
|
virtual void decrementReferens() Q_DECL_OVERRIDE;
|
||||||
void decrementReferens();
|
|
||||||
|
|
||||||
ParentType GetParentType() const;
|
ParentType GetParentType() const;
|
||||||
void SetParentType(const ParentType &value);
|
void SetParentType(const ParentType &value);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user