It brought in an OSG dependency; we'll just use boost::to_lower_copy instead.
#include "strutils.hxx"
-#include <osgDB/FileNameUtils> // for convertToLowerCase
-
using std::string;
using std::vector;
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
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