removed accidental C++11 usage
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1194 67173fc5-114c-0410-ac8e-9d2fd5bffc1fpull/5/head
parent
830388ab90
commit
89c3aaebbc
|
@ -157,9 +157,7 @@ void ColladaExporter::WriteImageEntry( const Surface& pSurface, const std::strin
|
||||||
mOutput << startstr << "<image id=\"" << pNameAdd << "\">" << endstr;
|
mOutput << startstr << "<image id=\"" << pNameAdd << "\">" << endstr;
|
||||||
PushTag();
|
PushTag();
|
||||||
mOutput << startstr << "<init_from>";
|
mOutput << startstr << "<init_from>";
|
||||||
if( pSurface.texture.find( "file://") == std::string::npos )
|
for( std::string::const_iterator it = pSurface.texture.begin(); it != pSurface.texture.end(); ++it )
|
||||||
mOutput << "file://";
|
|
||||||
for( std::string::const_iterator it = std::begin( pSurface.texture); it != std::end( pSurface.texture); ++it )
|
|
||||||
{
|
{
|
||||||
if( isalnum( *it) || *it == '_' || *it == '.' || *it == '/' || *it == '\\' )
|
if( isalnum( *it) || *it == '_' || *it == '.' || *it == '/' || *it == '\\' )
|
||||||
mOutput << *it;
|
mOutput << *it;
|
||||||
|
|
Loading…
Reference in New Issue