Add AddrStat::operator+=( AddrStat ).

This commit is contained in:
Bartosz Taudul 2021-04-18 19:40:43 +02:00
parent 22a8c53e8b
commit 046881e32f
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -104,6 +104,13 @@ private:
{
uint32_t local;
uint32_t ext;
AddrStat& operator+=( const AddrStat& other )
{
local += other.local;
ext += other.ext;
return *this;
}
};
public: