Get rid of rvalue ref returns
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user