Browse Source

removed accidental C++11 usage

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1194 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
ulfjorensen 13 years ago
parent
commit
89c3aaebbc
1 changed files with 1 additions and 3 deletions
  1. 1 3
      code/ColladaExporter.cpp

+ 1 - 3
code/ColladaExporter.cpp

@@ -157,9 +157,7 @@ void ColladaExporter::WriteImageEntry( const Surface& pSurface, const std::strin
     mOutput << startstr << "<image id=\"" << pNameAdd << "\">" << endstr;
     PushTag(); 
     mOutput << startstr << "<init_from>";
-    if( pSurface.texture.find( "file://") == std::string::npos )
-      mOutput << "file://";
-    for( std::string::const_iterator it = std::begin( pSurface.texture); it != std::end( pSurface.texture); ++it )
+    for( std::string::const_iterator it = pSurface.texture.begin(); it != pSurface.texture.end(); ++it )
     {
       if( isalnum( *it) || *it == '_' || *it == '.' || *it == '/' || *it == '\\' )
         mOutput << *it;