We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e42852 commit 6735585Copy full SHA for 6735585
deps/googletest/include/gtest/gtest-matchers.h
@@ -296,12 +296,12 @@ class MatcherBase : private MatcherDescriberInterface {
296
return *this;
297
}
298
299
- MatcherBase(MatcherBase&& other)
+ MatcherBase(MatcherBase&& other) noexcept
300
: vtable_(other.vtable_), buffer_(other.buffer_) {
301
other.vtable_ = nullptr;
302
303
304
- MatcherBase& operator=(MatcherBase&& other) {
+ MatcherBase& operator=(MatcherBase&& other) noexcept {
305
if (this == &other) return *this;
306
Destroy();
307
vtable_ = other.vtable_;
0 commit comments