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
@@ -140,7 +140,7 @@ void V3Hashed::dumpFilePrefixed(const string& nameComment, bool tree) {
}
void V3Hashed::dumpFile(const string& filename, bool tree) {
const auto_ptr<ofstream> logp (V3File::new_ofstream(filename));
const VL_UNIQUE_PTR<ofstream> logp (V3File::new_ofstream(filename));
if (logp->fail()) v3fatalSrc("Can't write "<<filename);
map<int,int> dist;