Fix C++-2011 warnings.

This commit is contained in:
Wilson Snyder
2014-03-15 14:50:03 -04:00
parent 3996e94c39
commit c18df68ead
7 changed files with 27 additions and 15 deletions
+1 -1
View File
@@ -1323,7 +1323,7 @@ void OrderVisitor::processDomainsIterate(OrderEitherVertex* vertexp) {
void OrderVisitor::processEdgeReport() {
// Make report of all signal names and what clock edges they have
string filename = v3Global.debugFilename("order_edges.txt");
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);
//Testing emitter: V3EmitV::verilogForTree(v3Global.rootp(), *logp);