mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-15 09:31:45 +00:00
Apply clang-tidy suggestions [modernize-loop-convert]
This commit is contained in:
committed by
Dennis Klein
parent
1b53538d8c
commit
4951433330
@@ -443,9 +443,9 @@ void Monitor::PrintQueues()
|
||||
{
|
||||
cout << "found " << queues->size() << " queue(s):" << endl;
|
||||
|
||||
for (unsigned int i = 0; i < queues->size(); ++i)
|
||||
for (const auto& queue : *queues)
|
||||
{
|
||||
string name(queues->at(i).c_str());
|
||||
string name(queue.c_str());
|
||||
cout << '\t' << name << " : ";
|
||||
atomic<int>* queueSize = segment.find<atomic<int>>(name.c_str()).first;
|
||||
if (queueSize)
|
||||
|
Reference in New Issue
Block a user