Get rid of rvalue ref returns

This commit is contained in:
2025-09-30 00:37:54 -04:00
parent ed9635582f
commit 4bf19fda90
4 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -114,7 +114,7 @@ void DependencyGraph::dfsCycleDetection(
}
// QutexAcquisitionHistoryTracker implementation
std::unique_ptr<DependencyGraph>&&
std::unique_ptr<DependencyGraph>
QutexAcquisitionHistoryTracker::generateGraph(bool dontAcquireLock)
{
auto graph = std::make_unique<DependencyGraph>();
@@ -169,7 +169,7 @@ QutexAcquisitionHistoryTracker::generateGraph(bool dontAcquireLock)
acquisitionHistoryLock.release();
}
return std::move(graph);
return graph;
}
/** EXPLANATION - GRIDLOCK DETECTION ALGORITHM: