diff options
author | practicalswift <practicalswift@users.noreply.github.com> | 2017-07-16 02:07:52 +0200 |
---|---|---|
committer | practicalswift <practicalswift@users.noreply.github.com> | 2017-08-14 17:46:15 +0200 |
commit | 99ba0c30087dc45a3805f0cac6d2e534ec52f039 (patch) | |
tree | 6234617a7c0277a431a07b7ab5b432793bdefaf4 /src/qt/sendcoinsdialog.cpp | |
parent | 140de14a12228cf7af44f59f40a937c2910a0158 (diff) |
Don't use pass by reference to const for cheaply-copied types (bool, char, etc.).
Diffstat (limited to 'src/qt/sendcoinsdialog.cpp')
-rw-r--r-- | src/qt/sendcoinsdialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qt/sendcoinsdialog.cpp b/src/qt/sendcoinsdialog.cpp index a01886c3ea..0f66d117a8 100644 --- a/src/qt/sendcoinsdialog.cpp +++ b/src/qt/sendcoinsdialog.cpp @@ -171,7 +171,7 @@ void SendCoinsDialog::setModel(WalletModel *_model) coinControlUpdateLabels(); // fee section - for (const int &n : confTargets) { + for (const int n : confTargets) { ui->confTargetSelector->addItem(tr("%1 (%2 blocks)").arg(GUIUtil::formatNiceTimeOffset(n*Params().GetConsensus().nPowTargetSpacing)).arg(n)); } connect(ui->confTargetSelector, SIGNAL(currentIndexChanged(int)), this, SLOT(updateSmartFeeLabel())); |