summaryrefslogtreecommitdiffstats
path: root/src/oauth/qoauth1signature.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/oauth/qoauth1signature.cpp')
-rw-r--r--src/oauth/qoauth1signature.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/oauth/qoauth1signature.cpp b/src/oauth/qoauth1signature.cpp
index aec2de3..f6ecdc0 100644
--- a/src/oauth/qoauth1signature.cpp
+++ b/src/oauth/qoauth1signature.cpp
@@ -224,9 +224,8 @@ QOAuth1Signature::QOAuth1Signature(const QOAuth1Signature &other) : d(other.d)
Move-constructs a QOAuth1Signature instance, taking over the
private data \a other was using.
*/
-QOAuth1Signature::QOAuth1Signature(QOAuth1Signature &&other) : d(other.d)
+QOAuth1Signature::QOAuth1Signature(QOAuth1Signature &&other) : d(std::move(other.d))
{
- other.d = &QOAuth1SignaturePrivate::shared_null;
}
/*!