summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichal Klocek <michal.klocek@qt.io>2019-02-15 12:50:16 +0100
committerMichal Klocek <michal.klocek@qt.io>2019-02-19 10:31:23 +0000
commit5cc2c30d27160f1fff2ece7c70f593bc0b6e3536 (patch)
treeecd3cf66faae2b9ea5ea60a8b4758d8756b8ba68
parent0e1ef598daca014b5df1b756b5b374827b6b3cb6 (diff)
Minor. Remove superfluous std::move
Let the compiler decide to do copy elision/NRVO or move. Fixes clang warning. Change-Id: I257492c06593b25cb9325a674c6a8aeed8c67680 Reviewed-by: Michael BrĂ¼ning <michael.bruning@qt.io>
-rw-r--r--src/core/printing/pdfium_document_wrapper_qt.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/printing/pdfium_document_wrapper_qt.cpp b/src/core/printing/pdfium_document_wrapper_qt.cpp
index a18258d0..6ee3af6f 100644
--- a/src/core/printing/pdfium_document_wrapper_qt.cpp
+++ b/src/core/printing/pdfium_document_wrapper_qt.cpp
@@ -102,7 +102,7 @@ private:
0, 0);
FPDFBitmap_Destroy(bitmap);
bitmap = nullptr;
- return std::move(image);
+ return image;
}
private: