Browse Source

Pass parameter by reference

Jesus Fernandez 7 năm trước cách đây
mục cha
commit
c2c44a831c
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      code/Importer/IFC/IFCGeometry.cpp

+ 1 - 1
code/Importer/IFC/IFCGeometry.cpp

@@ -317,7 +317,7 @@ void ProcessRevolvedAreaSolid(const Schema_2x3::IfcRevolvedAreaSolid& solid, Tem
 }
 
 // ------------------------------------------------------------------------------------------------
-void ProcessSweptDiskSolid(const Schema_2x3::IfcSweptDiskSolid solid, TempMesh& result, ConversionData& conv)
+void ProcessSweptDiskSolid(const Schema_2x3::IfcSweptDiskSolid &solid, TempMesh& result, ConversionData& conv)
 {
     const Curve* const curve = Curve::Convert(*solid.Directrix, conv);
     if(!curve) {