From 1c838ba92f49cdc1285523602414797628d9d2e3 Mon Sep 17 00:00:00 2001 From: jean-pierre charras Date: Mon, 13 Jun 2016 14:19:47 +0200 Subject: [PATCH] Slightly modify a declaration to make compil compatible with gcc 4.8.4, used in Ubuntu 14.04 LTS (the latest LTS currently available), and to avoid many bug reports. --- 3d-viewer/3d_cache/3d_filename_resolver.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/3d-viewer/3d_cache/3d_filename_resolver.cpp b/3d-viewer/3d_cache/3d_filename_resolver.cpp index 8770a0fa60..aef6bfc9ce 100644 --- a/3d-viewer/3d_cache/3d_filename_resolver.cpp +++ b/3d-viewer/3d_cache/3d_filename_resolver.cpp @@ -741,8 +741,8 @@ void S3D_FILENAME_RESOLVER::checkEnvVarPath( const wxString& aPath ) // check if the alias exists; if not then add it to the end of the // env var section of the path list - std::list< S3D_ALIAS >::const_iterator sPL = m_Paths.begin(); - std::list< S3D_ALIAS >::const_iterator ePL = m_Paths.end(); + auto sPL = m_Paths.begin(); + auto ePL = m_Paths.end(); while( sPL != ePL ) {