From 64756d14d0bed20b61938dd59dad44ef0a4513ba Mon Sep 17 00:00:00 2001 From: Tim Moore Date: Thu, 1 Oct 2009 00:31:36 +0200 Subject: [PATCH] Back out convertToLowerCase function It brought in an OSG dependency; we'll just use boost::to_lower_copy instead. --- simgear/misc/strutils.cxx | 9 --------- simgear/misc/strutils.hxx | 3 --- 2 files changed, 12 deletions(-) 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 -- 2.39.5