diff options
author | George Hazan <george.hazan@gmail.com> | 2013-09-21 22:50:50 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-09-21 22:50:50 +0000 |
commit | 15fa9a8a6dbce8619118c9f0cea877fbf903700a (patch) | |
tree | e63fd66f3332fa62103a7a71fc043a11b3b5f1fe /protocols/FacebookRM/src/process.cpp | |
parent | c4645924a1a945ddf1c02c60450b8b9ca0363c65 (diff) |
explicit constructors for ptrT
git-svn-id: http://svn.miranda-ng.org/main/trunk@6174 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/FacebookRM/src/process.cpp')
-rw-r--r-- | protocols/FacebookRM/src/process.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/protocols/FacebookRM/src/process.cpp b/protocols/FacebookRM/src/process.cpp index 218f95125a..edb554f9f8 100644 --- a/protocols/FacebookRM/src/process.cpp +++ b/protocols/FacebookRM/src/process.cpp @@ -806,11 +806,11 @@ void FacebookProto::SearchAckThread(void *targ) if (id.empty() || id == facy.self_.user_id)
continue;
- ptrT tid = mir_utf8decodeT(id.c_str());
- ptrT tname = mir_utf8decodeT(utils::text::special_expressions_decode(name).c_str());
- ptrT tsurname = mir_utf8decodeT(utils::text::special_expressions_decode(surname).c_str());
- ptrT tnick = mir_utf8decodeT(utils::text::special_expressions_decode(nick).c_str());
- ptrT tcommon = mir_utf8decodeT(utils::text::special_expressions_decode(common).c_str());
+ ptrT tid( mir_utf8decodeT(id.c_str()));
+ ptrT tname( mir_utf8decodeT(utils::text::special_expressions_decode(name).c_str()));
+ ptrT tsurname( mir_utf8decodeT(utils::text::special_expressions_decode(surname).c_str()));
+ ptrT tnick( mir_utf8decodeT(utils::text::special_expressions_decode(nick).c_str()));
+ ptrT tcommon( mir_utf8decodeT(utils::text::special_expressions_decode(common).c_str()));
PROTOSEARCHRESULT isr = {0};
isr.cbSize = sizeof(isr);
@@ -874,9 +874,9 @@ void FacebookProto::SearchIdAckThread(void *targ) // ignore self contact and empty ids
if (!id.empty() && id != facy.self_.user_id){
- ptrT tid = mir_utf8decodeT(id.c_str());
- ptrT tname = mir_utf8decodeT(name.c_str());
- ptrT tsurname = mir_utf8decodeT(surname.c_str());
+ ptrT tid( mir_utf8decodeT(id.c_str()));
+ ptrT tname( mir_utf8decodeT(name.c_str()));
+ ptrT tsurname( mir_utf8decodeT(surname.c_str()));
PROTOSEARCHRESULT isr = {0};
isr.cbSize = sizeof(isr);
|