]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Minor changes
authormpv <mpv@opencascade.com>
Thu, 5 May 2016 06:50:28 +0000 (09:50 +0300)
committermpv <mpv@opencascade.com>
Thu, 5 May 2016 06:50:28 +0000 (09:50 +0300)
CMakeCommon/UnitTest.cmake
src/SketchSolver/PlaneGCSSolver/PlaneGCSSolver_Storage.cpp

index 1a69191c0e62f7c374bad5eb81d6e1737e51d463..010d52f7c62ae636a1315725f8bf25e45dc0ed4a 100644 (file)
@@ -38,7 +38,6 @@ MACRO(ADD_UNIT_TESTS)
     SET(_PYTHONPATH "${CMAKE_INSTALL_PREFIX}/${SHAPER_INSTALL_SWIG}:${CMAKE_INSTALL_PREFIX}/${SHAPER_INSTALL_PLUGIN_FILES}:${CMAKE_INSTALL_PREFIX}/${SHAPER_INSTALL_ADDONS}:${CMAKE_INSTALL_PREFIX}/${SHAPER_INSTALL_PYTHON_API}:$ENV{PYTHONPATH}")
   endif()
 
-  SET(_CONFIG_FILE "${CMAKE_INSTALL_PREFIX}/${SHAPER_INSTALL_XML_RESOURCES}")
   foreach(eachFileName ${ARGN})
     # Strip the ".py" suffix
     GET_FILENAME_COMPONENT(aTestName ${eachFileName} NAME_WE)
index 3e9b00b7588fbdb3fee5610dc6a964e1ba0fa721..91c4d338151617da543dc93b4130af2146514439 100644 (file)
@@ -470,7 +470,7 @@ void PlaneGCSSolver_Storage::toggleEntity(
     }
 
     theTo.push_back(*anIt);
-    int aShift = anIt - theFrom.begin();
+    int aShift = int(anIt - theFrom.begin());
     theFrom.erase(anIt);
     anIt = theFrom.begin() + aShift;
   }