aboutsummaryrefslogtreecommitdiff
path: root/src/init.h
diff options
context:
space:
mode:
authorCory Fields <cory-nospam-@coryfields.com>2014-12-18 20:03:51 -0500
committerCory Fields <cory-nospam-@coryfields.com>2015-02-03 23:30:59 -0500
commit3447cf87e27262c57031361b3659fef938783295 (patch)
treeb4328a8a7658eebea713d7e2a3f05e4e693db560 /src/init.h
parentbbacd88204090e9233be375199f52d378bb75627 (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/init.h')
0 files changed, 0 insertions, 0 deletions