diff options
author | Cory Fields <cory-nospam-@coryfields.com> | 2014-12-18 20:03:51 -0500 |
---|---|---|
committer | Cory Fields <cory-nospam-@coryfields.com> | 2015-02-03 23:30:59 -0500 |
commit | 3447cf87e27262c57031361b3659fef938783295 (patch) | |
tree | b4328a8a7658eebea713d7e2a3f05e4e693db560 /src/keystore.h | |
parent | bbacd88204090e9233be375199f52d378bb75627 (diff) |
c++11: MOVEONLY: break circular dependency in wallet
c++11 (libc++'s stdlib implementation anyway) doesn't allow for map types to be
forward-declared. for example:
class foo;
std::map<int, foo> bar; // error, foo has not been defined.
class foo{};
Since CWallet and CWalletTx are inter-dependent, but only std::map<*,CWalletTx>
is used, forward-declare CWallet instead and define CWalletTx first.
Despite the mangled git diff, this change only amounts to moving ~320 lines in
a single chunk.
Diffstat (limited to 'src/keystore.h')
0 files changed, 0 insertions, 0 deletions