Replaced find_first_of with find
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user