Fix compiler warning in tst_qstringlistmodel

Warning: redundant move in return statement [-Wredundant-move]

Change-Id: I426c8c41c52b43ae3863f5aaf86027cabb961388
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
bb10
Lars Schmertmann 2020-07-09 11:56:58 +02:00
parent e9932f6372
commit 76d02d895a
1 changed files with 1 additions and 1 deletions

View File

@ -330,7 +330,7 @@ template <class C>
C sorted(C c)
{
std::sort(c.begin(), c.end());
return std::move(c);
return c;
}
void tst_QStringListModel::setData_emits_both_roles()