Fix GCC 9.1 build warnings

GCC wants operator= aand copy ctor to be both defined, or neither
This commit is contained in:
moneromooo-monero 2019-06-08 15:58:33 +00:00
parent 2cbe75661c
commit 35c20c4332
No known key found for this signature in database
GPG key ID: 686F07454D6CEFC3
3 changed files with 20 additions and 0 deletions

View file

@ -77,6 +77,7 @@ namespace hw {
ABPkeys(const rct::key& A, const rct::key& B, const bool is_subaddr, bool is_subaddress, bool is_change_address, size_t index, const rct::key& P,const rct::key& AK);
ABPkeys(const ABPkeys& keys) ;
ABPkeys() {index=0;is_subaddress=false;is_subaddress=false;is_change_address=false;}
ABPkeys &operator=(const ABPkeys &keys);
};
class Keymap {