mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 10:03:44 +02:00
Internals: Add missing const. No functional change.
This commit is contained in:
@@ -228,7 +228,7 @@ void V3Stats::statsReport() {
|
||||
std::ofstream* ofp{V3File::new_ofstream(filename)};
|
||||
if (ofp->fail()) v3fatal("Can't write " << filename);
|
||||
|
||||
const StatsReport reporter(ofp);
|
||||
{ StatsReport{ofp}; } // Destruct before cleanup
|
||||
|
||||
// Cleanup
|
||||
ofp->close();
|
||||
|
||||
Reference in New Issue
Block a user