diff options
| author | 2021-07-25 11:39:04 -0700 | |
|---|---|---|
| committer | 2021-07-25 11:39:04 -0700 | |
| commit | 98b26b6e126d4775fdf3f773fe8a8ac808a8ff8f (patch) | |
| tree | 816faa96c2c4d291825063433331a8ea4b3d08f1 /src/tests/common/unique_function.cpp | |
| parent | Merge pull request #6699 from lat9nq/common-threads (diff) | |
| parent | shader: Support out of bound local memory reads and immediate writes (diff) | |
| download | yuzu-98b26b6e126d4775fdf3f773fe8a8ac808a8ff8f.tar.gz yuzu-98b26b6e126d4775fdf3f773fe8a8ac808a8ff8f.tar.xz yuzu-98b26b6e126d4775fdf3f773fe8a8ac808a8ff8f.zip | |
Merge pull request #6585 from ameerj/hades
Shader Decompiler Rewrite
Diffstat (limited to 'src/tests/common/unique_function.cpp')
| -rw-r--r-- | src/tests/common/unique_function.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tests/common/unique_function.cpp b/src/tests/common/unique_function.cpp index ac9912738..aa6e86593 100644 --- a/src/tests/common/unique_function.cpp +++ b/src/tests/common/unique_function.cpp | |||
| @@ -17,10 +17,12 @@ struct Noisy { | |||
| 17 | Noisy& operator=(Noisy&& rhs) noexcept { | 17 | Noisy& operator=(Noisy&& rhs) noexcept { |
| 18 | state = "Move assigned"; | 18 | state = "Move assigned"; |
| 19 | rhs.state = "Moved away"; | 19 | rhs.state = "Moved away"; |
| 20 | return *this; | ||
| 20 | } | 21 | } |
| 21 | Noisy(const Noisy&) : state{"Copied constructed"} {} | 22 | Noisy(const Noisy&) : state{"Copied constructed"} {} |
| 22 | Noisy& operator=(const Noisy&) { | 23 | Noisy& operator=(const Noisy&) { |
| 23 | state = "Copied assigned"; | 24 | state = "Copied assigned"; |
| 25 | return *this; | ||
| 24 | } | 26 | } |
| 25 | 27 | ||
| 26 | std::string state; | 28 | std::string state; |