removed accidental C++11 usage

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1194 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
pull/5/head
ulfjorensen 2012-03-09 21:11:42 +00:00
parent 830388ab90
commit 89c3aaebbc
1 changed files with 1 additions and 3 deletions

View File

@ -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;