mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-06-04 18:22:57 +02:00
clang-tidy: Add performance-inefficient-vector-operation check
https://clang.llvm.org/extra/clang-tidy/checks/performance/inefficient-vector-operation.html
This commit is contained in:
@@ -24,6 +24,7 @@ BOOST_AUTO_TEST_CASE(BlockPolicyEstimates)
|
||||
CAmount basefee(2000);
|
||||
CAmount deltaFee(100);
|
||||
std::vector<CAmount> feeV;
|
||||
feeV.reserve(10);
|
||||
|
||||
// Populate vectors of increasing fees
|
||||
for (int j = 0; j < 10; j++) {
|
||||
|
||||
Reference in New Issue
Block a user