diff options
Diffstat (limited to 'protocols/FacebookRM/src/proto.cpp')
-rw-r--r-- | protocols/FacebookRM/src/proto.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/FacebookRM/src/proto.cpp b/protocols/FacebookRM/src/proto.cpp index d64100165b..be0f917120 100644 --- a/protocols/FacebookRM/src/proto.cpp +++ b/protocols/FacebookRM/src/proto.cpp @@ -108,8 +108,8 @@ FacebookProto::FacebookProto(const char* proto_name, const wchar_t* username) : FacebookProto::~FacebookProto() { // Uninit popup classes - for (std::vector<HANDLE>::size_type i = 0; i < popupClasses.size(); i++) - Popup_UnregisterClass(popupClasses[i]); + for (auto &it : popupClasses) + Popup_UnregisterClass(it); popupClasses.clear(); Netlib_CloseHandle(m_hNetlibUser); |