From c22abff76e810dcd269d3e1af59c3b16cfe26b2e Mon Sep 17 00:00:00 2001 From: Jason Felds Date: Tue, 30 Apr 2013 20:36:56 -0400 Subject: [PATCH] Missed one. --- src/Trail.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Trail.cpp b/src/Trail.cpp index 4888130960..9ccfcfcdb8 100644 --- a/src/Trail.cpp +++ b/src/Trail.cpp @@ -230,17 +230,17 @@ public: static int GetArtists( T* p, lua_State *L ) { vector asArtists, asAltArtists; - FOREACH_CONST( TrailEntry, p->m_vEntries, e ) + for (TrailEntry const &e : p->m_vEntries) { - if( e->bSecret ) + if( e.bSecret ) { asArtists.push_back( "???" ); asAltArtists.push_back( "???" ); } else { - asArtists.push_back( e->pSong->GetDisplayArtist() ); - asAltArtists.push_back( e->pSong->GetTranslitArtist() ); + asArtists.push_back( e.pSong->GetDisplayArtist() ); + asAltArtists.push_back( e.pSong->GetTranslitArtist() ); } }