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/misc.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/misc.cpp')
-rw-r--r-- | protocols/VKontakte/src/misc.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/VKontakte/src/misc.cpp b/protocols/VKontakte/src/misc.cpp index 1da3b4cf92..41f2c8c588 100644 --- a/protocols/VKontakte/src/misc.cpp +++ b/protocols/VKontakte/src/misc.cpp @@ -314,7 +314,7 @@ JSONNode& CVkProto::CheckJsonResponse(AsyncHttpRequest *pReq, NETLIBHTTPREQUEST return root["response"];
}
-bool CVkProto::CheckJsonResult(AsyncHttpRequest *pReq, JSONNode &jnNode)
+bool CVkProto::CheckJsonResult(AsyncHttpRequest *pReq, const JSONNode &jnNode)
{
debugLogA("CVkProto::CheckJsonResult");
if (!jnNode)
@@ -952,7 +952,7 @@ CMString& CVkProto::ClearFormatNick(CMString& tszText) /////////////////////////////////////////////////////////////////////////////////////////
-CMString CVkProto::GetAttachmentDescr(const JSONNode jnAttachments, BBCSupport iBBC)
+CMString CVkProto::GetAttachmentDescr(const JSONNode &jnAttachments, BBCSupport iBBC)
{
debugLogA("CVkProto::GetAttachmentDescr");
CMString res;
@@ -965,7 +965,7 @@ CMString CVkProto::GetAttachmentDescr(const JSONNode jnAttachments, BBCSupport i res.AppendChar('\n');
for (auto it = jnAttachments.begin(); it != jnAttachments.end(); ++it) {
- const JSONNode jnAttach = (*it);
+ const JSONNode &jnAttach = (*it);
res.AppendChar('\t');
CMString tszType(jnAttach["type"].as_mstring());
|