aboutsummaryrefslogtreecommitdiff
path: root/src/miner.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2014-06-16 16:30:38 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2014-06-16 17:42:54 +0200
commit09eb201b1b3ed808e5167245149f5635d4eaf6f9 (patch)
tree0fc95f43c7355321cbd2b79603edfdcea42e962d /src/miner.cpp
parent807691ca96a1a4b0655f6ea80b721b940dd29a39 (diff)
downloadbitcoin-09eb201b1b3ed808e5167245149f5635d4eaf6f9.tar.xz
Remove `using namespace std` from header file
It's considered bad form to import things into the global namespace in a header. Put it in the cpp files where it is needed instead.
Diffstat (limited to 'src/miner.cpp')
-rw-r--r--src/miner.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/miner.cpp b/src/miner.cpp
index a0a728fb81..87779efbbd 100644
--- a/src/miner.cpp
+++ b/src/miner.cpp
@@ -11,6 +11,8 @@
#ifdef ENABLE_WALLET
#include "wallet.h"
#endif
+
+using namespace std;
//////////////////////////////////////////////////////////////////////////////
//
// BitcoinMiner