]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Fix compilation problems on CentOS (part II)
authorazv <azv@opencascade.com>
Mon, 4 Dec 2017 05:45:55 +0000 (08:45 +0300)
committerazv <azv@opencascade.com>
Mon, 4 Dec 2017 05:45:55 +0000 (08:45 +0300)
src/ModelHighAPI/ModelHighAPI_Folder.cpp

index e1ad23fae43f6175fb602fc2387fb28bd8502cc7..16c3b6dc4d7789c0c8e525db489e46fd6287d556 100644 (file)
@@ -70,7 +70,7 @@ void ModelHighAPI_Folder::dump(ModelHighAPI_Dumper& theDumper) const
   // Otherwise, store the folder postponed.
   if (!aEndRef->value())
     theDumper << myFolder << " = model.addFolder(" << aDocName << ")" << std::endl;
-  else if (theDumper.isDumped(aEndRef->value()))
+  else if (theDumper.isDumped(EntityPtr(aEndRef->value())))
     theDumper << myFolder << " = model.addFolder(" << aDocName << ", "
               << aStartRef << ", " << aEndRef << ")" << std::endl;
   else