#2080 Don't allow parameterless Kernel constructor

This commit is contained in:
Thomas Krijnen
2022-03-22 22:30:27 +01:00
parent 43d0c098a0
commit 38170db32a
2 changed files with 6 additions and 3 deletions
+4 -1
View File
@@ -42,6 +42,9 @@ namespace IfcGeom {
private:
Kernel* implementation_;
protected:
Kernel() {};
public:
// Tolerances and settings for various geometrical operations:
enum GeomValue {
@@ -80,7 +83,7 @@ namespace IfcGeom {
GV_BOOLEAN_ATTEMPT_2D
};
Kernel(IfcParse::IfcFile* file_ = 0);
Kernel(IfcParse::IfcFile* file_);
virtual ~Kernel() {}