From 73e052569fd3a86675d4d7e7b9c87c6896af4a05 Mon Sep 17 00:00:00 2001 From: spo Date: Wed, 14 Oct 2015 09:09:53 +0300 Subject: [PATCH] Fix compilation on Linux --- src/NewGeom/NewGeom_SalomeViewer.cpp | 2 +- src/XGUI/XGUI_Workshop.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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; -- 2.39.2