[GRASS-SVN] r58457 - grass/trunk/lib/iostream

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Dec 14 06:23:40 PST 2013


Author: glynn
Date: 2013-12-14 06:23:40 -0800 (Sat, 14 Dec 2013)
New Revision: 58457

Modified:
   grass/trunk/lib/iostream/mm.cpp
   grass/trunk/lib/iostream/mm_utils.cpp
Log:
Remove remaining "using namespace std" cases


Modified: grass/trunk/lib/iostream/mm.cpp
===================================================================
--- grass/trunk/lib/iostream/mm.cpp	2013-12-13 19:48:30 UTC (rev 58456)
+++ grass/trunk/lib/iostream/mm.cpp	2013-12-14 14:23:40 UTC (rev 58457)
@@ -41,7 +41,9 @@
 #include <stdlib.h>
 #include <assert.h>
 #include <iostream>
-using namespace std;
+using std::cout;
+using std::cerr;
+using std::endl;
 
 //#include <mm.h>
 #include <grass/iostream/mm.h>

Modified: grass/trunk/lib/iostream/mm_utils.cpp
===================================================================
--- grass/trunk/lib/iostream/mm_utils.cpp	2013-12-13 19:48:30 UTC (rev 58456)
+++ grass/trunk/lib/iostream/mm_utils.cpp	2013-12-14 14:23:40 UTC (rev 58457)
@@ -38,7 +38,6 @@
 #include <ctype.h>
 #include <ostream>
 #include <iostream>
-using namespace std;
 #include <stdio.h>
 
 //#include <mm.h>



More information about the grass-commit mailing list