From 15fa9a8a6dbce8619118c9f0cea877fbf903700a Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 21 Sep 2013 22:50:50 +0000 Subject: explicit constructors for ptrT git-svn-id: http://svn.miranda-ng.org/main/trunk@6174 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/FacebookRM/src/process.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'protocols/FacebookRM/src/process.cpp') 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); -- cgit v1.2.3