[TD]CI clang warnings

This commit is contained in:
wandererfan
2022-08-23 15:32:13 -04:00
committed by WandererFan
parent c075a298ae
commit aa2b1b8392
246 changed files with 3944 additions and 4241 deletions

View File

@@ -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: