]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Fix compilation error
authorazv <azv@opencascade.com>
Tue, 28 May 2019 19:56:31 +0000 (22:56 +0300)
committerazv <azv@opencascade.com>
Tue, 28 May 2019 19:56:31 +0000 (22:56 +0300)
src/ModuleBase/ModuleBase_WidgetConcealedObjects.cpp

index 811c7167ce0d166bccb1134a1fa7c205bf9e82f6..d3d2a45b8ad74cc2542e69770623dd8900462ea9 100644 (file)
@@ -48,7 +48,7 @@ ModuleBase_WidgetConcealedObjects::ModuleBase_WidgetConcealedObjects(QWidget* th
 {
   myBaseShapeAttribute = theData->getProperty("base_shape_attribute");
   std::string aPickParents = theData->getProperty("pick_concealed_parents");
-  std::transform(aPickParents.begin(), aPickParents.end(), aPickParents.begin(), std::tolower);
+  std::transform(aPickParents.begin(), aPickParents.end(), aPickParents.begin(), ::tolower);
   myPickConcealedParents = aPickParents == "1" || aPickParents == "true" || aPickParents == "yes";
 
   QGridLayout* aMainLay = new QGridLayout(this);