From d6628a652bc52898d8751858efac04ee2c61b5be Mon Sep 17 00:00:00 2001
From: Hal Finkel <hfinkel@anl.gov>
Date: Mon, 2 Apr 2018 11:01:05 -0500
Subject: [PATCH] Fully qualify uses of cout

---
 GenericIO.cxx | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/GenericIO.cxx b/GenericIO.cxx
index eb1fb18..b539017 100644
--- a/GenericIO.cxx
+++ b/GenericIO.cxx
@@ -734,9 +734,9 @@ nocomp:
 
   if (Rank == 0) {
     double Rate = ((double) FileSize) / MaxTotalTime / (1024.*1024.);
-    cout << "Wrote " << Vars.size() << " variables to " << FileName <<
-            " (" << FileSize << " bytes) in " << MaxTotalTime << "s: " <<
-            Rate << " MB/s" << endl;
+    std::cout << "Wrote " << Vars.size() << " variables to " << FileName <<
+                  " (" << FileSize << " bytes) in " << MaxTotalTime << "s: " <<
+                  Rate << " MB/s" << std::endl;
   }
 
   MPI_Comm_free(&SplitComm);
@@ -1331,9 +1331,9 @@ void GenericIO::readData(int EffRank, bool PrintStats, bool CollStats) {
 
   if (Rank == 0 && PrintStats) {
     double Rate = ((double) AllTotalReadSize) / MaxTotalTime / (1024.*1024.);
-    cout << "Read " << Vars.size() << " variables from " << FileName <<
-            " (" << AllTotalReadSize << " bytes) in " << MaxTotalTime << "s: " <<
-            Rate << " MB/s [excluding header read]" << endl;
+    std::cout << "Read " << Vars.size() << " variables from " << FileName <<
+                 " (" << AllTotalReadSize << " bytes) in " << MaxTotalTime << "s: " <<
+                 Rate << " MB/s [excluding header read]" << std::endl;
   }
 }
 
-- 
GitLab