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
+1 -1
View File
@@ -133,7 +133,7 @@ public:
* @param dontAcquireLock If true, skips acquiring the internal spinlock
* (assumes caller already holds it)
*/
[[nodiscard]] std::unique_ptr<DependencyGraph>&& generateGraph(
[[nodiscard]] std::unique_ptr<DependencyGraph> generateGraph(
bool dontAcquireLock = false);
// Disable copy constructor and assignment operator
+1 -1
View File
@@ -39,7 +39,7 @@ public:
// Return list of all qutexes in predecessors' LockSets; excludes self.
[[nodiscard]]
std::unique_ptr<std::forward_list<std::reference_wrapper<Qutex>>>&&
std::unique_ptr<std::forward_list<std::reference_wrapper<Qutex>>>
getAcquiredQutexHistory() const;
public: