From 33ca2a341064bc6e6401f6a9497f4f1948941cbb Mon Sep 17 00:00:00 2001 From: Jason Felds Date: Wed, 1 May 2013 22:44:34 -0400 Subject: [PATCH] Another old style one --- src/ProfileManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ProfileManager.cpp b/src/ProfileManager.cpp index 55ea05288f..9a944cb623 100644 --- a/src/ProfileManager.cpp +++ b/src/ProfileManager.cpp @@ -489,7 +489,7 @@ bool ProfileManager::DeleteLocalProfile( RString sProfileID ) // flush directory cache in an attempt to get this working FILEMAN->FlushDirCache( sProfileDir ); - FOREACH( DirAndProfile, g_vLocalProfile, i ) + for (vector::iterator i = g_vLocalProfile.begin(); i != g_vLocalProfile.end(); ++i) { if( i->sDir == sProfileDir ) {