Skip to content

Commit

Permalink
Fix for mismatched extern definition in wallet test classes which was…
Browse files Browse the repository at this point in the history
… breaking msvc linking.
  • Loading branch information
sipsorcery committed Nov 18, 2017
1 parent 1429132 commit f94c2ec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/wallet/test/accounting_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

#include <boost/test/unit_test.hpp>

extern CWallet* pwalletMain;
extern std::unique_ptr<CWallet> pwalletMain;

BOOST_FIXTURE_TEST_SUITE(accounting_tests, WalletTestingSetup)

Expand Down
2 changes: 1 addition & 1 deletion src/wallet/test/wallet_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#include <boost/test/unit_test.hpp>
#include <univalue.h>

extern CWallet* pwalletMain;
extern std::unique_ptr<CWallet> pwalletMain;

extern UniValue importmulti(const JSONRPCRequest& request);
extern UniValue dumpwallet(const JSONRPCRequest& request);
Expand Down

0 comments on commit f94c2ec

Please sign in to comment.