Don't use pass by reference to const for cheaply-copied types (bool, char, etc.).

This commit is contained in:
practicalswift
2017-07-16 02:07:52 +02:00
parent 140de14a12
commit 99ba0c3008
5 changed files with 11 additions and 11 deletions

View File

@@ -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()));