mirror of
https://github.com/verilator/verilator.git
synced 2026-10-08 02:53:12 +02:00
Internals: C++11 style cleanups. No functional change.
This commit is contained in:
+1
-1
@@ -355,7 +355,7 @@ public:
|
||||
void dumpGraphFilePrefixed(const string& nameComment) const {
|
||||
if (v3Global.opt.dumpTree()) {
|
||||
const string filename = v3Global.debugFilename(nameComment) + ".txt";
|
||||
const std::unique_ptr<std::ofstream> logp(V3File::new_ofstream(filename));
|
||||
const std::unique_ptr<std::ofstream> logp{V3File::new_ofstream(filename)};
|
||||
if (logp->fail()) v3fatal("Can't write " << filename);
|
||||
dumpGraph(*logp, nameComment);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user