[TD]CI clang warnings
This commit is contained in:
@@ -21,8 +21,8 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
#ifndef _DrawViewClip_h_
|
||||
#define _DrawViewClip_h_
|
||||
#ifndef DrawViewClip_h_
|
||||
#define DrawViewClip_h_
|
||||
|
||||
#include <Mod/TechDraw/TechDrawGlobal.h>
|
||||
|
||||
@@ -44,7 +44,7 @@ class TechDrawExport DrawViewClip: public TechDraw::DrawView
|
||||
public:
|
||||
/// Constructor
|
||||
DrawViewClip();
|
||||
~DrawViewClip() override;
|
||||
~DrawViewClip() = default;
|
||||
|
||||
App::PropertyLength Width;
|
||||
App::PropertyLength Height;
|
||||
@@ -70,7 +70,7 @@ public:
|
||||
|
||||
std::vector<std::string> getChildViewNames();
|
||||
bool isViewInClip(App::DocumentObject* view);
|
||||
QRectF getRect() const override { return QRectF(0,0,Width.getValue(),Height.getValue()); }
|
||||
QRectF getRect() const override { return { 0, 0, Width.getValue(), Height.getValue() }; }
|
||||
|
||||
|
||||
protected:
|
||||
|
||||
Reference in New Issue
Block a user