[PATCH 15/34] kernelshark: Fix moving a temp object prevents copy elision warning

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Benjamin ROBIN <dev@xxxxxxxxxxxxx>
---
 src/KsTraceViewer.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/KsTraceViewer.cpp b/src/KsTraceViewer.cpp
index d4c9dd9..5eec312 100644
--- a/src/KsTraceViewer.cpp
+++ b/src/KsTraceViewer.cpp
@@ -855,7 +855,7 @@ void KsTraceViewer::_searchItemsMT()
 
 	QVector<QList<int>> res;
 	for (auto &m: maps)
-		res.append(std::move(m.get()));
+		res.append(m.get());
 
 	lamSearchMerge(_matchList, res);
 }
-- 
2.43.0





[Index of Archives]     [Linux USB Development]     [Linux USB Development]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux