aboutsummaryrefslogtreecommitdiff
path: root/src/chainparams.cpp
diff options
context:
space:
mode:
authorCory Fields <[email protected]>2014-12-18 20:03:51 -0500
committerCory Fields <[email protected]>2015-02-03 23:30:59 -0500
commit3447cf87e27262c57031361b3659fef938783295 (patch)
treeb4328a8a7658eebea713d7e2a3f05e4e693db560 /src/chainparams.cpp
parentc++11: MOVEONLY: move function definitions out of the header (diff)
downloaddiscoin-3447cf87e27262c57031361b3659fef938783295.tar.xz
discoin-3447cf87e27262c57031361b3659fef938783295.zip
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/chainparams.cpp')
0 files changed, 0 insertions, 0 deletions