X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2FGeomAPI%2FGeomAPI_DataMapOfShapeShape.cpp;h=a21ac5f04297702f079461ee8e642134d5239984;hb=73502ac782ffc45a3acf665ded34f582b07ec4d5;hp=166922710c2e4d7ea9c1366fba1c664c9307e36d;hpb=a95effb94656e5d4721f86ccb6ffbc2572bb1214;p=modules%2Fshaper.git diff --git a/src/GeomAPI/GeomAPI_DataMapOfShapeShape.cpp b/src/GeomAPI/GeomAPI_DataMapOfShapeShape.cpp index 166922710..a21ac5f04 100644 --- a/src/GeomAPI/GeomAPI_DataMapOfShapeShape.cpp +++ b/src/GeomAPI/GeomAPI_DataMapOfShapeShape.cpp @@ -44,7 +44,9 @@ void GeomAPI_DataMapOfShapeShape::merge(const GeomAPI_DataMapOfShapeShape& theDa void GeomAPI_DataMapOfShapeShape::merge(const std::shared_ptr theDataMap) { - merge(*theDataMap.get()); + if(theDataMap.get()) { + merge(*theDataMap.get()); + } } bool GeomAPI_DataMapOfShapeShape::isBound (std::shared_ptr theKey)