diff options
author | Alexey Rusakov <Kitsune-Ral@users.sf.net> | 2022-01-05 16:09:04 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-05 16:09:04 +0100 |
commit | 7ed5f8d90ce25431fb120698c8a079807df7c13a (patch) | |
tree | a51da22df1818b915817c0c83b6766b5d5a67bc0 /lib/avatar.h | |
parent | c1bfb156844aa3c53b1588c48ba2002143199510 (diff) | |
parent | 9fc7bfd5ef1daf84307d553941855fb377fddc7c (diff) | |
download | libquotient-7ed5f8d90ce25431fb120698c8a079807df7c13a.tar.gz libquotient-7ed5f8d90ce25431fb120698c8a079807df7c13a.zip |
Merge pull request #532 from quotient-im/kitsune/implptr
ImplPtr
Diffstat (limited to 'lib/avatar.h')
-rw-r--r-- | lib/avatar.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/lib/avatar.h b/lib/avatar.h index 93f43948..c94dc369 100644 --- a/lib/avatar.h +++ b/lib/avatar.h @@ -3,13 +3,12 @@ #pragma once -#include "quotient_export.h" +#include "util.h" #include <QtCore/QUrl> #include <QtGui/QIcon> #include <functional> -#include <memory> namespace Quotient { class Connection; @@ -18,9 +17,6 @@ class QUOTIENT_API Avatar { public: explicit Avatar(); explicit Avatar(QUrl url); - Avatar(Avatar&&); - ~Avatar(); - Avatar& operator=(Avatar&&); using get_callback_t = std::function<void()>; using upload_callback_t = std::function<void(QUrl)>; @@ -41,6 +37,6 @@ public: private: class Private; - std::unique_ptr<Private> d; + ImplPtr<Private> d; }; } // namespace Quotient |