From: spo Date: Wed, 14 Oct 2015 06:09:53 +0000 (+0300) Subject: Fix compilation on Linux X-Git-Tag: V_2.0.0_alfa1~99 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=73e052569fd3a86675d4d7e7b9c87c6896af4a05;p=modules%2Fshaper.git Fix compilation on Linux --- diff --git a/src/NewGeom/NewGeom_SalomeViewer.cpp b/src/NewGeom/NewGeom_SalomeViewer.cpp index d8415b447..ebdff9249 100644 --- a/src/NewGeom/NewGeom_SalomeViewer.cpp +++ b/src/NewGeom/NewGeom_SalomeViewer.cpp @@ -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; diff --git a/src/XGUI/XGUI_Workshop.cpp b/src/XGUI/XGUI_Workshop.cpp index 912a0ef4b..b46d8d692 100644 --- a/src/XGUI/XGUI_Workshop.cpp +++ b/src/XGUI/XGUI_Workshop.cpp @@ -1484,7 +1484,7 @@ bool XGUI_Workshop::canChangeColor() const return hasResults(aObjects, aTypes); } -void setColor(ResultPtr theResult, std::vector& theColor) +void setColor(ResultPtr theResult, const std::vector& theColor) { if (!theResult.get()) return;