mirror of
https://github.com/verilator/verilator.git
synced 2026-09-03 16:28:53 +02:00
Use C++11 for loops, from clang-migrate. No functional change intended
This commit is contained in:
@@ -42,7 +42,7 @@ struct GraphPCNode {
|
||||
|
||||
// CONSTRUCTORS
|
||||
GraphPCNode() {
|
||||
for (int w = 0; w < GraphWay::NUM_WAYS; w++) m_cp[w] = 0;
|
||||
for (unsigned int& w : m_cp) w = 0;
|
||||
}
|
||||
~GraphPCNode() {}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user