MCPcopy Create free account
hub / github.com/EmbeddedRPC/erpc / swap

Method swap

test/common/gtest/gtest.cpp:2467–2471  ·  view source on GitHub ↗

Swaps two AssertionResults.

Source from the content-addressed store, hash-verified

2465
2466// Swaps two AssertionResults.
2467void AssertionResult::swap(AssertionResult& other) {
2468 using std::swap;
2469 swap(success_, other.success_);
2470 swap(message_, other.message_);
2471}
2472
2473// Returns the assertion's negation. Used with EXPECT/ASSERT_FALSE.
2474AssertionResult AssertionResult::operator!() const {

Callers 1

SplitStringFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected