Swaps two AssertionResults.
| 2465 | |
| 2466 | // Swaps two AssertionResults. |
| 2467 | void 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. |
| 2474 | AssertionResult AssertionResult::operator!() const { |