- better way to construct NULL-shared_ptr

This commit is contained in:
Alexander Gessler
2013-02-09 17:42:11 +01:00
parent 667a51e0ab
commit 078150da57
2 changed files with 2 additions and 3 deletions

View File

@@ -582,8 +582,7 @@ void ProcessBooleanExtrudedAreaSolidDifference(const IfcExtrudedAreaSolid* as, T
boost::shared_ptr<TempMesh> meshtmp = boost::shared_ptr<TempMesh>(new TempMesh());
ProcessExtrudedAreaSolid(*as,*meshtmp,conv,false);
std::vector<TempOpening> openings(1, TempOpening(as,IfcVector3(0,0,0),meshtmp,
boost::shared_ptr<TempMesh>((TempMesh*)NULL)));
std::vector<TempOpening> openings(1, TempOpening(as,IfcVector3(0,0,0),meshtmp,boost::shared_ptr<TempMesh>()));
result = first_operand;