]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Fix compilation on Linux
authorspo <sergey.pokhodenko@opencascade.com>
Wed, 14 Oct 2015 06:09:53 +0000 (09:09 +0300)
committerspo <sergey.pokhodenko@opencascade.com>
Wed, 14 Oct 2015 06:09:53 +0000 (09:09 +0300)
src/NewGeom/NewGeom_SalomeViewer.cpp
src/XGUI/XGUI_Workshop.cpp

index d8415b44788fca61d82fbc521d8d37a4ceee9030..ebdff924986ed86f28a14f6e8c75b0c6cd3f92a0 100644 (file)
@@ -278,7 +278,7 @@ bool NewGeom_SalomeViewer::isMultiSelectionEnabled() const
 //**********************************************
 bool NewGeom_SalomeViewer::enableDrawMode(bool isEnabled)
 {
-  // TODO: Has to be replaced when SALOME patch become avialable
+  // TODO: Has to be replaced when SALOME patch become available
   if (mySelector)
     return mySelector->viewer()->enableDrawMode(isEnabled);
   return false;
index 912a0ef4b455fdb297cce39ef099f40b0183cb9d..b46d8d692014f50bb90da6a88b9a3786b254389c 100644 (file)
@@ -1484,7 +1484,7 @@ bool XGUI_Workshop::canChangeColor() const
   return hasResults(aObjects, aTypes);
 }
 
-void setColor(ResultPtr theResult, std::vector<int>& theColor)
+void setColor(ResultPtr theResult, const std::vector<int>& theColor)
 {
   if (!theResult.get())
     return;