]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/XGUI/XGUI_Displayer.cpp
Salome HOME
Cover debug information with _DEBUG definition.
[modules/shaper.git] / src / XGUI / XGUI_Displayer.cpp
index d7f38e04d5b231e113c7293729dc8ffc641f82a5..a6063a2d3eebf13dd516c990d1832f4bdfc19a25 100644 (file)
@@ -1419,6 +1419,7 @@ void XGUI_Displayer::appendResultObject(ObjectPtr theObject, AISObjectPtr theAIS
 #endif
 }
 
+#ifdef _DEBUG
 std::string XGUI_Displayer::getResult2AISObjectMapInfo() const
 {
   QStringList aContent;
@@ -1434,6 +1435,7 @@ std::string XGUI_Displayer::getResult2AISObjectMapInfo() const
   return QString("myResult2AISObjectMap: size = %1\n%2\n").arg(myResult2AISObjectMap.size()).
                                             arg(aContent.join("\n")).toStdString().c_str();
 }
+#endif
 
 void XGUI_Displayer::getPresentations(const ObjectPtr& theObject,
                                   NCollection_Map<Handle(AIS_InteractiveObject)>& thePresentations)