summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRodrigo Locatti <reinuseslisp@airmail.cc>2021-07-26 11:01:21 +0200
committerGitHub <noreply@github.com>2021-07-26 11:01:21 +0200
commitb2b3fcdccda8399735a0307114a0ad5c2f118421 (patch)
tree09b7bd35997126f7f7a8021a657d4b6092e49ea7
parentMerge pull request #6725 from lioncash/control-token (diff)
parentobject_pool: Add missing return in Chunk move assignment operator (diff)
downloadyuzu-b2b3fcdccda8399735a0307114a0ad5c2f118421.tar
yuzu-b2b3fcdccda8399735a0307114a0ad5c2f118421.tar.gz
yuzu-b2b3fcdccda8399735a0307114a0ad5c2f118421.tar.bz2
yuzu-b2b3fcdccda8399735a0307114a0ad5c2f118421.tar.lz
yuzu-b2b3fcdccda8399735a0307114a0ad5c2f118421.tar.xz
yuzu-b2b3fcdccda8399735a0307114a0ad5c2f118421.tar.zst
yuzu-b2b3fcdccda8399735a0307114a0ad5c2f118421.zip
-rw-r--r--src/shader_recompiler/object_pool.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shader_recompiler/object_pool.h b/src/shader_recompiler/object_pool.h
index f8b255b66..f3b12d04b 100644
--- a/src/shader_recompiler/object_pool.h
+++ b/src/shader_recompiler/object_pool.h
@@ -63,6 +63,7 @@ private:
used_objects = std::exchange(rhs.used_objects, 0);
num_objects = std::exchange(rhs.num_objects, 0);
storage = std::move(rhs.storage);
+ return *this;
}
Chunk(Chunk&& rhs) noexcept