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/Skype/src/skype_messages.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'protocols/Skype/src/skype_messages.cpp') diff --git a/protocols/Skype/src/skype_messages.cpp b/protocols/Skype/src/skype_messages.cpp index c04b6e2c55..93d8f71f49 100644 --- a/protocols/Skype/src/skype_messages.cpp +++ b/protocols/Skype/src/skype_messages.cpp @@ -226,7 +226,7 @@ void CSkypeProto::SyncHistoryCommand(HANDLE hContact, time_t timestamp) { if (hContact) { - ptrW sid = ::db_get_wsa(hContact, this->m_szModuleName, SKYPE_SETTINGS_SID); + ptrW sid( ::db_get_wsa(hContact, this->m_szModuleName, SKYPE_SETTINGS_SID)); ConversationRef conversation; if ( !this->isChatRoom(hContact)) @@ -291,7 +291,7 @@ int CSkypeProto::SyncAllTimeHistoryCommand(WPARAM wParam, LPARAM lParam) HANDLE hContact = (HANDLE)wParam; if (hContact) { - ptrW sid = ::db_get_wsa(hContact, this->m_szModuleName, SKYPE_SETTINGS_SID); + ptrW sid( ::db_get_wsa(hContact, this->m_szModuleName, SKYPE_SETTINGS_SID)); ConversationRef conversation; if ( !this->isChatRoom(hContact)) -- cgit v1.2.3