diff options
author | George Hazan <george.hazan@gmail.com> | 2015-08-07 08:34:38 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-08-07 08:34:38 +0000 |
commit | ea3f1f60358cfc18e2e698e989d40d202444fd32 (patch) | |
tree | 2e6dc87b05e35db11ddc8bbf428acb06082cbb62 /protocols/WhatsApp/src | |
parent | 63f83672f9d84f65f6b60ac9f942064c40ecc071 (diff) |
minor code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@14853 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/WhatsApp/src')
-rw-r--r-- | protocols/WhatsApp/src/WhatsAPI++/WAConnection.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/protocols/WhatsApp/src/WhatsAPI++/WAConnection.cpp b/protocols/WhatsApp/src/WhatsAPI++/WAConnection.cpp index a14b576f14..113a69d2f1 100644 --- a/protocols/WhatsApp/src/WhatsAPI++/WAConnection.cpp +++ b/protocols/WhatsApp/src/WhatsAPI++/WAConnection.cpp @@ -122,8 +122,7 @@ WAConnection::WAConnection(const std::string &user, const std::string &resource, WAConnection::~WAConnection()
{
- std::map<string, IqResultHandler*>::iterator it;
- for (it = this->pending_server_requests.begin(); it != this->pending_server_requests.end(); it++)
+ for (auto it = pending_server_requests.begin(); it != pending_server_requests.end(); ++it)
delete it->second;
}
|