No need to use std::move in this case.
This commit is contained in:
parent
4f2f05fe9a
commit
34632ebb43
|
@ -40,7 +40,7 @@ namespace
|
|||
auto InvalidImage() -> QPixmap
|
||||
{
|
||||
QImageReader imageReader(VBackgroundPatternImage::brokenImage);
|
||||
return std::move(QPixmap::fromImageReader(&imageReader));
|
||||
return QPixmap::fromImageReader(&imageReader);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user