fix(Content): add missed move

This commit is contained in:
Ronan Abhamon 2017-10-10 15:51:32 +02:00
parent 5bbd468b55
commit 360d4056dd

View file

@ -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);