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/Skype/src/skype_messages.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/Skype/src/skype_messages.cpp')
-rw-r--r-- | protocols/Skype/src/skype_messages.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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))
|