Skip to content

Commit f526277

Browse files
committed
Fix some warnings
1 parent 0c8e9e7 commit f526277

3 files changed

Lines changed: 6 additions & 3 deletions

File tree

src/ifcgeom/IfcGeom.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,6 @@ class IFC_GEOM_API MAKE_TYPE_NAME(Kernel) : public IfcGeom::Kernel {
199199
double ifc_planeangle_unit;
200200
double modelling_precision;
201201
double dimensionality;
202-
faceset_helper* faceset_helper_;
203202

204203
#ifndef NO_CACHE
205204
MAKE_TYPE_NAME(Cache) cache;
@@ -212,6 +211,8 @@ class IFC_GEOM_API MAKE_TYPE_NAME(Kernel) : public IfcGeom::Kernel {
212211
// For stopping PlacementRelTo recursion in convert(const IfcSchema::IfcObjectPlacement* l, gp_Trsf& trsf)
213212
const IfcParse::declaration* placement_rel_to;
214213

214+
faceset_helper* faceset_helper_;
215+
215216
public:
216217
MAKE_TYPE_NAME(Kernel)()
217218
: IfcGeom::Kernel(0)

src/ifcgeom/IfcRepresentationShapeItem.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@
2828
namespace IfcGeom {
2929
class IFC_GEOM_API IfcRepresentationShapeItem {
3030
private:
31+
int id;
3132
gp_GTrsf placement;
3233
TopoDS_Shape shape;
3334
const SurfaceStyle* style;
34-
int id;
3535
public:
3636
IfcRepresentationShapeItem(int id, const gp_GTrsf& placement, const TopoDS_Shape& shape, const SurfaceStyle* style)
3737
: id(id), placement(placement), shape(shape), style(style) {}

src/ifcparse/IfcSpfHeader.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,9 @@ static const char * const DATA = "DATA";
3636
using namespace IfcParse;
3737

3838
HeaderEntity::HeaderEntity(const char * const datatype, size_t size, IfcFile* file)
39-
: IfcEntityInstanceData(file, size), size_(size), _datatype(datatype)
39+
: IfcEntityInstanceData(file, size)
40+
, _datatype(datatype)
41+
, size_(size)
4042
{
4143
if (file) {
4244
offset_in_file_ = file->stream->Tell();

0 commit comments

Comments
 (0)