From: azv Date: Mon, 4 Dec 2017 05:45:55 +0000 (+0300) Subject: Fix compilation problems on CentOS (part II) X-Git-Tag: V_2.10.0RC~119 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=a2dd8804ce8c9ff8d953957bb5a9c9e0fb93d465;p=modules%2Fshaper.git Fix compilation problems on CentOS (part II) --- diff --git a/src/ModelHighAPI/ModelHighAPI_Folder.cpp b/src/ModelHighAPI/ModelHighAPI_Folder.cpp index e1ad23fae..16c3b6dc4 100644 --- a/src/ModelHighAPI/ModelHighAPI_Folder.cpp +++ b/src/ModelHighAPI/ModelHighAPI_Folder.cpp @@ -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