From 9ebd19babff8a598d378e2bccd09cbe61c36450f Mon Sep 17 00:00:00 2001 From: Tim Moore Date: Thu, 1 Oct 2009 00:15:37 +0200 Subject: [PATCH] Use boost::to_lower_copy instead of function from simgear The simgear function is about to get removed. --- src/Navaids/positioned.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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) { -- 2.39.5