No need to use std::move in this case.

This commit is contained in:
Roman Telezhynskyi 2023-02-20 13:13:39 +02:00
parent 4f2f05fe9a
commit 34632ebb43

View File

@ -40,7 +40,7 @@ namespace
auto InvalidImage() -> QPixmap auto InvalidImage() -> QPixmap
{ {
QImageReader imageReader(VBackgroundPatternImage::brokenImage); QImageReader imageReader(VBackgroundPatternImage::brokenImage);
return std::move(QPixmap::fromImageReader(&imageReader)); return QPixmap::fromImageReader(&imageReader);
} }
} }