From: Tim Moore Date: Wed, 30 Sep 2009 22:15:37 +0000 (+0200) Subject: Use boost::to_lower_copy instead of function from simgear X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=9ebd19babff8a598d378e2bccd09cbe61c36450f;p=flightgear.git Use boost::to_lower_copy instead of function from simgear The simgear function is about to get removed. --- diff --git a/src/Navaids/positioned.cxx b/src/Navaids/positioned.cxx index 28e723811..0553956e1 100644 --- a/src/Navaids/positioned.cxx +++ b/src/Navaids/positioned.cxx @@ -29,10 +29,11 @@ #include +#include + #include #include #include -#include #include "positioned.hxx" @@ -504,7 +505,7 @@ FGPositioned::Type FGPositioned::typeFromName(const std::string& aName) {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) {