Kaynağa Gözat

Fix invalid initialization of constexpr.

Kim Kulling 3 yıl önce
ebeveyn
işleme
9bf5d01469
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      code/AssetLib/IFC/IFCOpenings.cpp

+ 1 - 1
code/AssetLib/IFC/IFCOpenings.cpp

@@ -1476,7 +1476,7 @@ std::vector<IfcVector2> GetContourInPlane2D(std::shared_ptr<TempMesh> mesh,IfcMa
     return contour;
 }
 
-constexpr float close{ ai_epsilon };
+const float close{ ai_epsilon };
 
 static bool isClose(IfcVector2 first,IfcVector2 second) {
     auto diff = (second - first);