diff options
| author | Wladimir J. van der Laan <[email protected]> | 2014-06-16 16:30:38 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2014-06-16 17:42:54 +0200 |
| commit | 09eb201b1b3ed808e5167245149f5635d4eaf6f9 (patch) | |
| tree | 0fc95f43c7355321cbd2b79603edfdcea42e962d /src/qt/walletmodel.cpp | |
| parent | Merge pull request #4326 (diff) | |
| download | discoin-09eb201b1b3ed808e5167245149f5635d4eaf6f9.tar.xz discoin-09eb201b1b3ed808e5167245149f5635d4eaf6f9.zip | |
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.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qt/walletmodel.cpp b/src/qt/walletmodel.cpp index 87ff3db58..2f633a26c 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), |