diff options
author | Michal Klocek <michal.klocek@qt.io> | 2019-02-15 12:50:16 +0100 |
---|---|---|
committer | Michal Klocek <michal.klocek@qt.io> | 2019-02-19 10:31:23 +0000 |
commit | 5cc2c30d27160f1fff2ece7c70f593bc0b6e3536 (patch) | |
tree | ecd3cf66faae2b9ea5ea60a8b4758d8756b8ba68 /src/core/printing/pdfium_document_wrapper_qt.cpp | |
parent | 0e1ef598daca014b5df1b756b5b374827b6b3cb6 (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>
Diffstat (limited to 'src/core/printing/pdfium_document_wrapper_qt.cpp')
-rw-r--r-- | src/core/printing/pdfium_document_wrapper_qt.cpp | 2 |
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 a18258d0e..6ee3af6f8 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: |