[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

@@ -22,8 +22,8 @@
//! HatchLine - Classes related to processing PAT files
#ifndef _TechDraw_HATCHLINE_H_
#define _TechDraw_HATCHLINE_H_
#ifndef TechDraw_HATCHLINE_H_
#define TechDraw_HATCHLINE_H_
#include <Mod/TechDraw/TechDrawGlobal.h>
@@ -53,7 +53,7 @@ class TechDrawExport DashSpec
public:
DashSpec() {}
explicit DashSpec(std::vector<double> p) { m_parms = p; }
~DashSpec() {}
~DashSpec() = default;
double get(int i) {return m_parms.at(i); }
std::vector<double> get() {return m_parms;}
@@ -112,7 +112,7 @@ class TechDrawExport LineSet
{
public:
LineSet() {}
~LineSet() {}
~LineSet() = default;
void setPATLineSpec(const PATLineSpec& s) { m_hatchLine = s; }
void setEdges(std::vector<TopoDS_Edge> e) {m_edges = e;}