mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-11 06:28:31 +01: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:
@@ -174,6 +174,7 @@ BOOST_AUTO_TEST_CASE(processnewblock_signals_ordering)
|
||||
// this will create parallelism and randomness inside validation - the ValidationInterface
|
||||
// will subscribe to events generated during block validation and assert on ordering invariance
|
||||
std::vector<std::thread> threads;
|
||||
threads.reserve(10);
|
||||
for (int i = 0; i < 10; i++) {
|
||||
threads.emplace_back([&]() {
|
||||
bool ignored;
|
||||
|
||||
Reference in New Issue
Block a user