Browse Source
Merge pull request #6723 from lioncash/shader
object_pool: Add missing return in Chunk move assignment operator
pull/15/merge
Rodrigo Locatti
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
0 deletions
-
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 |
|
|
|
|