commit | c004a95cf667642fe517dffefd63954ea6fd2063 | [log] [tgz] |
---|---|---|
author | Ted Pudlik <tpudlik@google.com> | Mon May 13 17:08:20 2024 +0000 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon May 13 17:08:20 2024 +0000 |
tree | 732bfed6096ce224cab0200857663f4d1c84fb66 | |
parent | 8d2fdc5ed1aa0176022ad3e01e9605d420b3b262 [diff] |
pw_result: Fix typo in template member An internal compiler upgrade surfaced this error. See cl/633159698. Bug: 339794389 Change-Id: Ic5e28cd24e5f3a6c8aa04023a9bbebc9a186e833 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/209667 Lint: Lint 🤖 <android-build-ayeaye@system.gserviceaccount.com> Pigweed-Auto-Submit: Ted Pudlik <tpudlik@google.com> Reviewed-by: Carlos Chinchilla <cachinchilla@google.com> Commit-Queue: Ted Pudlik <tpudlik@google.com>
diff --git a/pw_result/public/pw_result/internal/expected_impl.h b/pw_result/public/pw_result/internal/expected_impl.h index fe97010..3288016 100644 --- a/pw_result/public/pw_result/internal/expected_impl.h +++ b/pw_result/public/pw_result/internal/expected_impl.h
@@ -769,7 +769,7 @@ constexpr expected& operator=(expected&& rhs) noexcept( std::is_nothrow_move_constructible_v<E> && std::is_nothrow_move_assignable_v<E>) { - error_contents_ = std::move(rhs.error_contents); + error_contents_ = std::move(rhs.error_contents_); return *this; } template <class G>