diff options
author | Sergey Bolhovskoy <elzorfox@ya.ru> | 2015-05-28 15:54:35 +0000 |
---|---|---|
committer | Sergey Bolhovskoy <elzorfox@ya.ru> | 2015-05-28 15:54:35 +0000 |
commit | 8af494f775a60cf9174aba872600cf9ddb0ce321 (patch) | |
tree | 95304f480e73567427780b4dc13ff28467954a41 /protocols/VKontakte/src/vk_search.cpp | |
parent | 4fa9a8b4f873f5a97c74c3cac6fc1384b9b22f17 (diff) |
VKontakte: small fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@13877 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/VKontakte/src/vk_search.cpp')
-rw-r--r-- | protocols/VKontakte/src/vk_search.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/VKontakte/src/vk_search.cpp b/protocols/VKontakte/src/vk_search.cpp index 212881b2dc..a6e0cbdbba 100644 --- a/protocols/VKontakte/src/vk_search.cpp +++ b/protocols/VKontakte/src/vk_search.cpp @@ -113,7 +113,7 @@ void CVkProto::OnSearch(NETLIBHTTPREQUEST *reply, AsyncHttpRequest *pReq) return;
}
- const JSONNode jnItems = jnResponse["items"].isnull() ? jnResponse : jnResponse["items"];
+ const JSONNode &jnItems = jnResponse["items"].isnull() ? jnResponse : jnResponse["items"];
for (auto it = jnItems.begin(); it != jnItems.end(); ++it) {
const JSONNode &jnRecord = (*it);
if (!jnRecord)
|