Commit 50296372 authored by Lei Zhang's avatar Lei Zhang Committed by V8 LUCI CQ

Add noexcept to cppgc::BasicPersistent's move assignment operator.

Change-Id: I9dbca09523644934eefb14fdb60f360b28417fa2
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2983712Reviewed-by: 's avatarMichael Lippautz <mlippautz@chromium.org>
Commit-Queue: Lei Zhang <thestig@chromium.org>
Cr-Commit-Position: refs/heads/master@{#75347}
parent 2912ebc4
......@@ -141,7 +141,7 @@ class BasicPersistent final : public PersistentBase,
}
// Move assignment.
BasicPersistent& operator=(BasicPersistent&& other) {
BasicPersistent& operator=(BasicPersistent&& other) noexcept {
if (this == &other) return *this;
Clear();
PersistentBase::operator=(std::move(other));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment