aboutsummaryrefslogtreecommitdiff
path: root/src/qt/walletmodel.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/qt/walletmodel.cpp
parent807691ca96a1a4b0655f6ea80b721b940dd29a39 (diff)
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/qt/walletmodel.cpp')
-rw-r--r--src/qt/walletmodel.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qt/walletmodel.cpp b/src/qt/walletmodel.cpp
index 87ff3db584..2f633a26c8 100644
--- a/src/qt/walletmodel.cpp
+++ b/src/qt/walletmodel.cpp
@@ -24,6 +24,8 @@
#include <QSet>
#include <QTimer>
+using namespace std;
+
WalletModel::WalletModel(CWallet *wallet, OptionsModel *optionsModel, QObject *parent) :
QObject(parent), wallet(wallet), optionsModel(optionsModel), addressTableModel(0),
transactionTableModel(0),