From 360d4056dd640c596f4ac2125997ac38b27fe139 Mon Sep 17 00:00:00 2001 From: Ronan Abhamon Date: Tue, 10 Oct 2017 15:51:32 +0200 Subject: [PATCH] fix(Content): add missed move --- src/content/content.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/content.cpp b/src/content/content.cpp index c222ce388..7a28ad53e 100644 --- a/src/content/content.cpp +++ b/src/content/content.cpp @@ -46,7 +46,7 @@ Content::Content (const Content &src) : ClonableObject(*new ContentPrivate), App d->contentDisposition = src.getContentDisposition(); } -Content::Content (Content &&src) : ClonableObject(*new ContentPrivate), AppDataContainer(src) { +Content::Content (Content &&src) : ClonableObject(*new ContentPrivate), AppDataContainer(move(src)) { L_D(); d->body = move(src.getPrivate()->body); d->contentType = move(src.getPrivate()->contentType);