Skip to content

Commit de1c609

Browse files
Abseil Teamcopybara-github
authored andcommitted
Automated Code Change
PiperOrigin-RevId: 816182689 Change-Id: Ie2aaa55be6c2e4508aaafa7a0b30fe52ec334893
1 parent 9706f75 commit de1c609

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

googletest/include/gtest/gtest-matchers.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -296,12 +296,12 @@ class MatcherBase : private MatcherDescriberInterface {
296296
return *this;
297297
}
298298

299-
MatcherBase(MatcherBase&& other)
299+
MatcherBase(MatcherBase&& other) noexcept
300300
: vtable_(other.vtable_), buffer_(other.buffer_) {
301301
other.vtable_ = nullptr;
302302
}
303303

304-
MatcherBase& operator=(MatcherBase&& other) {
304+
MatcherBase& operator=(MatcherBase&& other) noexcept {
305305
if (this == &other) return *this;
306306
Destroy();
307307
vtable_ = other.vtable_;

0 commit comments

Comments
 (0)