diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-06-08 15:58:33 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-06-09 09:39:18 +0000 |
commit | 35c20c4332b9483f0e4c60f244e44508e5fef69b (patch) | |
tree | e3c2047c2c231c33cf9f34ceeed04c226f7dea79 /src/device/device_ledger.hpp | |
parent | p2p: fix GCC 9.1 crash (diff) | |
download | monero-35c20c4332b9483f0e4c60f244e44508e5fef69b.tar.xz |
Fix GCC 9.1 build warnings
GCC wants operator= aand copy ctor to be both defined, or neither
Diffstat (limited to 'src/device/device_ledger.hpp')
-rw-r--r-- | src/device/device_ledger.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/device/device_ledger.hpp b/src/device/device_ledger.hpp index d4d98ce4a..fe9028733 100644 --- a/src/device/device_ledger.hpp +++ b/src/device/device_ledger.hpp @@ -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 { |