Forráskód Böngészése

Remove remaining "using namespace std" cases

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@58457 15284696-431f-4ddb-bdfa-cd5b030d7da7
Glynn Clements 11 éve
szülő
commit
d07cb5ee8a
2 módosított fájl, 3 hozzáadás és 2 törlés
  1. 3 1
      lib/iostream/mm.cpp
  2. 0 1
      lib/iostream/mm_utils.cpp

+ 3 - 1
lib/iostream/mm.cpp

@@ -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>

+ 0 - 1
lib/iostream/mm_utils.cpp

@@ -38,7 +38,6 @@
 #include <ctype.h>
 #include <ostream>
 #include <iostream>
-using namespace std;
 #include <stdio.h>
 
 //#include <mm.h>