Function operator+=

Synopsis

#include <include/internal/catch_totals.h>

Counts & operator+=(Counts const &other)

Description

No description yet.

Source

Lines 20-25 in include/internal/catch_totals.cpp. Line 17 in include/internal/catch_totals.h.

Counts& Counts::operator += ( Counts const& other ) {
    passed += other.passed;
    failed += other.failed;
    failedButOk += other.failedButOk;
    return *this;
}





Add Discussion as Guest

Log in