summaryrefslogtreecommitdiff
path: root/protocols
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2019-09-26 18:23:54 +0300
committerGeorge Hazan <ghazan@miranda.im>2019-09-26 18:23:54 +0300
commite6c4594bfd63d7480fa4c010e5336586c61c240f (patch)
treec7c07acfe0770cfb2095d9693a7b017033e3593f /protocols
parent1d8b5028056bbfe0dd3616162da30378f043c0c0 (diff)
C++'17 compatibility mode enabled
Diffstat (limited to 'protocols')
-rw-r--r--protocols/Twitter/src/connection.cpp2
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.