From: Tim M. <ti...@ba...> - 2009-09-30 22:23:27
|
Update of /var/cvs/FlightGear-0.9/source/src/Navaids In directory baron.flightgear.org:/tmp/cvs-serv3626/src/Navaids Modified Files: positioned.cxx Log Message: Use boost::to_lower_copy instead of function from simgear The simgear function is about to get removed. Author: Tim Moore <ti...@re...> Index: positioned.cxx =================================================================== RCS file: /var/cvs/FlightGear-0.9/source/src/Navaids/positioned.cxx,v retrieving revision 1.19 retrieving revision 1.20 diff -u -r1.19 -r1.20 --- positioned.cxx 28 Sep 2009 23:42:10 -0000 1.19 +++ positioned.cxx 30 Sep 2009 22:23:03 -0000 1.20 @@ -29,10 +29,11 @@ #include <iostream> +#include <boost/algorithm/string/case_conv.hpp> + #include <simgear/math/sg_geodesy.hxx> #include <simgear/timing/timestamp.hxx> #include <simgear/debug/logstream.hxx> -#include <simgear/misc/strutils.hxx> #include "positioned.hxx" @@ -504,7 +505,7 @@ {NULL, INVALID} }; - std::string lowerName(simgear::strutils::convertToLowerCase(aName)); + std::string lowerName(boost::to_lower_copy(aName)); for (const NameTypeEntry* n = names; (n->_name != NULL); ++n) { if (::strcmp(n->_name, lowerName.c_str()) == 0) { |