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
@@ -288,7 +288,7 @@ void V3Graph::dumpDotFilePrefixedAlways(const string& nameComment, bool colorAsS
void V3Graph::dumpDotFile(const string& filename, bool colorAsSubgraph) {
// This generates a file used by graphviz, http://www.graphviz.org
// "hardcoded" parameters:
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);
// Header