MCPcopy Create free account
hub / github.com/apache/mesos / InternalSwap

Method InternalSwap

src/tests/common/http_tests.pb.cc:746–756  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

744 InternalSwap(other);
745}
746void TestSlaveMessage::InternalSwap(TestSlaveMessage* other) {
747 using std::swap;
748 some_slave_fields_.InternalSwap(&other->some_slave_fields_);
749 some_slave_map_.Swap(&other->some_slave_map_);
750 some_slave_enums_.InternalSwap(&other->some_slave_enums_);
751 swap(some_slave_field_, other->some_slave_field_);
752 swap(some_slave_enum_, other->some_slave_enum_);
753 swap(_has_bits_[0], other->_has_bits_[0]);
754 _internal_metadata_.Swap(&other->_internal_metadata_);
755 swap(_cached_size_, other->_cached_size_);
756}
757
758::google::protobuf::Metadata TestSlaveMessage::GetMetadata() const {
759 protobuf_http_5ftests_2eproto::protobuf_AssignDescriptorsOnce();

Callers

nothing calls this directly

Calls 1

SwapMethod · 0.80

Tested by

no test coverage detected