diff options
Diffstat (limited to 'protocols/FacebookRM/src/stdafx.h')
-rw-r--r-- | protocols/FacebookRM/src/stdafx.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/FacebookRM/src/stdafx.h b/protocols/FacebookRM/src/stdafx.h index 83efa47cf7..ea411d908f 100644 --- a/protocols/FacebookRM/src/stdafx.h +++ b/protocols/FacebookRM/src/stdafx.h @@ -86,6 +86,6 @@ extern DWORD g_mirandaVersion; template <typename T>
__inline static void FreeList(const LIST<T> &lst)
{
- for (int i = 0; i < lst.getCount(); i++)
- mir_free(lst[i]);
+ for (auto &it : lst)
+ mir_free(it);
}
\ No newline at end of file |