Fix C++ 2014 compile warnings. No functional change.

This commit is contained in:
Wilson Snyder
2015-10-04 13:41:45 -04:00
parent 4fc9a906f6
commit 7abc220fb3
8 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -1646,7 +1646,7 @@ void OrderVisitor::process() {
m_graph.dumpDotFilePrefixed("orderg_done");
if (0 && debug()) {
string dfilename = v3Global.opt.makeDir()+"/"+v3Global.opt.prefix()+"_INT_order.tree";
const auto_ptr<ofstream> logp (V3File::new_ofstream(dfilename));
const VL_UNIQUE_PTR<ofstream> logp (V3File::new_ofstream(dfilename));
if (logp->fail()) v3fatalSrc("Can't write "<<dfilename);
m_graph.dump(*logp);
}