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
@@ -1031,7 +1031,7 @@ void AstNode::dumpTreeFile(const string& filename, bool append, bool doDump) {
if (doDump) {
{ // Write log & close
UINFO(2,"Dumping "<<filename<<endl);
const auto_ptr<ofstream> logsp (V3File::new_ofstream(filename, append));
const VL_UNIQUE_PTR<ofstream> logsp (V3File::new_ofstream(filename, append));
if (logsp->fail()) v3fatalSrc("Can't write "<<filename);
*logsp<<"Verilator Tree Dump (format 0x3900) from <e"<<dec<<editCountLast()<<">";
*logsp<<" to <e"<<dec<<editCountGbl()<<">"<<endl;