Diff of /src/hugin_cpfind/cpfind/main.cpp [570f5d] .. [0628c3]  Maximize  Restore

  Switch to side-by-side view

--- a/src/hugin_cpfind/cpfind/main.cpp
+++ b/src/hugin_cpfind/cpfind/main.cpp
@@ -25,6 +25,7 @@
 #include <boost/foreach.hpp>
 #include "Utils.h"
 #include <getopt.h>
+#include "hugin_utils/stl_utils.h"
 
 using namespace std;
 
@@ -238,7 +239,7 @@
             case RANSACMODE:
                 ransacMode=optarg;
                 cout << "Ransac: " << ransacMode << endl;
-                transform(ransacMode.begin(), ransacMode.end(), ransacMode.begin(),(int(*)(int)) tolower);
+                ransacMode=hugin_utils::tolower(ransacMode);
                 cout << "Ransac: " << ransacMode << endl;
                 if(ransacMode=="auto")
                 {

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks