mirror of
https://github.com/verilator/verilator.git
synced 2026-10-07 02:23:19 +02:00
Internals: enum constructor cleanups. No functional change intended.
This commit is contained in:
+3
-2
@@ -1335,9 +1335,10 @@ class OrderProcess final : VNDeleter {
|
||||
~OrderProcess() override {
|
||||
// Stats
|
||||
for (int type = 0; type < OrderVEdgeType::_ENUM_END; type++) {
|
||||
const double count = double(m_statCut[type]);
|
||||
const double count{m_statCut[type]};
|
||||
if (count != 0.0) {
|
||||
V3Stats::addStat(string("Order, cut, ") + OrderVEdgeType(type).ascii(), count);
|
||||
V3Stats::addStat(std::string{"Order, cut, "} + OrderVEdgeType{type}.ascii(),
|
||||
count);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user