From 89c3aaebbc03853c1f8c2f671dc7c47b5fe357be Mon Sep 17 00:00:00 2001 From: ulfjorensen Date: Fri, 9 Mar 2012 21:11:42 +0000 Subject: [PATCH] removed accidental C++11 usage git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1194 67173fc5-114c-0410-ac8e-9d2fd5bffc1f --- code/ColladaExporter.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/code/ColladaExporter.cpp b/code/ColladaExporter.cpp index 62293a941..487d64a36 100644 --- a/code/ColladaExporter.cpp +++ b/code/ColladaExporter.cpp @@ -157,9 +157,7 @@ void ColladaExporter::WriteImageEntry( const Surface& pSurface, const std::strin mOutput << startstr << "" << endstr; PushTag(); mOutput << startstr << ""; - 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;