diff options
author | George Hazan <ghazan@miranda.im> | 2019-09-26 18:23:54 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2019-09-26 18:23:54 +0300 |
commit | e6c4594bfd63d7480fa4c010e5336586c61c240f (patch) | |
tree | c7c07acfe0770cfb2095d9693a7b017033e3593f /protocols | |
parent | 1d8b5028056bbfe0dd3616162da30378f043c0c0 (diff) |
C++'17 compatibility mode enabled
Diffstat (limited to 'protocols')
-rw-r--r-- | protocols/Twitter/src/connection.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Twitter/src/connection.cpp b/protocols/Twitter/src/connection.cpp index f2b866d088..f039ae20cb 100644 --- a/protocols/Twitter/src/connection.cpp +++ b/protocols/Twitter/src/connection.cpp @@ -355,7 +355,7 @@ void TwitterProto::UpdateAvatarWorker(void *p) {
if (p == nullptr)
return;
- std::auto_ptr<update_avatar> data(static_cast<update_avatar*>(p));
+ std::unique_ptr<update_avatar> data(static_cast<update_avatar*>(p));
DBVARIANT dbv = { 0 };
// db_get_s returns 0 when it suceeds, so if this suceeds it will return 0, or false.
|