From: Tim Moore Date: Wed, 30 Sep 2009 22:31:36 +0000 (+0200) Subject: Back out convertToLowerCase function X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=64756d14d0bed20b61938dd59dad44ef0a4513ba;p=simgear.git Back out convertToLowerCase function It brought in an OSG dependency; we'll just use boost::to_lower_copy instead. --- diff --git a/simgear/misc/strutils.cxx b/simgear/misc/strutils.cxx index e836a3c4..d33b0a9d 100644 --- a/simgear/misc/strutils.cxx +++ b/simgear/misc/strutils.cxx @@ -25,8 +25,6 @@ #include "strutils.hxx" -#include // for convertToLowerCase - using std::string; using std::vector; @@ -185,12 +183,5 @@ namespace simgear { return do_strip( s, BOTHSTRIP ); } - string convertToLowerCase(const string& str) - { - // proxy onto osgDB - easy to reimplement here, but let's avoid - // code duplication for the moment. - return osgDB::convertToLowerCase(str); - } - } // end namespace strutils } // end namespace simgear diff --git a/simgear/misc/strutils.hxx b/simgear/misc/strutils.hxx index 7c1753ab..162cdb28 100644 --- a/simgear/misc/strutils.hxx +++ b/simgear/misc/strutils.hxx @@ -79,9 +79,6 @@ namespace simgear { split( const std::string& s, const char* sep = 0, int maxsplit = 0 ); - - - std::string convertToLowerCase(const std::string& str); } // end namespace strutils } // end namespace simgear