Changeset 20102 for trunk/Mars


Ignore:
Timestamp:
08/30/21 13:18:30 (3 years ago)
Author:
tbretz
Message:
Added =-operator exlicitly.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/mcore/checksum.h

    r18460 r20102  
    4646    }
    4747
     48    Checksum &operator=(const Checksum &sum)
     49    {
     50        buffer = sum.buffer;
     51        return *this;
     52    }
    4853
    4954    bool add(const char *buf, size_t len, bool big_endian = true)
Note: See TracChangeset for help on using the changeset viewer.