mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 10:03:44 +02:00
Internals: C++11 style cleanups. No functional change.
This commit is contained in:
@@ -222,7 +222,7 @@ void V3Stats::statsReport() {
|
||||
// Open stats file
|
||||
const string filename
|
||||
= v3Global.opt.hierTopDataDir() + "/" + v3Global.opt.prefix() + "__stats.txt";
|
||||
std::ofstream* ofp(V3File::new_ofstream(filename));
|
||||
std::ofstream* ofp{V3File::new_ofstream(filename)};
|
||||
if (ofp->fail()) v3fatal("Can't write " << filename);
|
||||
|
||||
StatsReport reporter(ofp);
|
||||
|
||||
Reference in New Issue
Block a user