mirror of
https://github.com/verilator/verilator.git
synced 2026-09-04 08:33:38 +02:00
Internals: cppcheck fixes. No functional change. (#6687)
This commit is contained in:
+2
-1
@@ -486,7 +486,8 @@ std::vector<std::string> V3Options::traceClassBases() const VL_MT_SAFE {
|
||||
}
|
||||
std::vector<std::string> V3Options::traceClassLangs() const VL_MT_SAFE {
|
||||
std::vector<std::string> result;
|
||||
for (auto& cbase : traceClassBases()) result.emplace_back(cbase + (systemC() ? "Sc" : "C"));
|
||||
for (const auto& cbase : traceClassBases())
|
||||
result.emplace_back(cbase + (systemC() ? "Sc" : "C"));
|
||||
return result;
|
||||
}
|
||||
std::vector<std::string> V3Options::traceSourceBases() const VL_MT_SAFE {
|
||||
|
||||
Reference in New Issue
Block a user