From 737378c9678a3acd0382c36ef7f892a10674998a Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Fri, 5 Mar 2010 15:36:32 +0000 Subject: [PATCH] Replaced find_first_of with find --- src/osgDB/FileNameUtils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osgDB/FileNameUtils.cpp b/src/osgDB/FileNameUtils.cpp index 04b2c8005..8499d7a22 100644 --- a/src/osgDB/FileNameUtils.cpp +++ b/src/osgDB/FileNameUtils.cpp @@ -224,7 +224,7 @@ std::string osgDB::getServerAddress(const std::string& filename) std::string osgDB::getServerFileName(const std::string& filename) { - std::string::size_type pos(filename.find_first_of("://")); + std::string::size_type pos(filename.find("://")); if (pos != std::string::npos) {