* followed advice by Rene to explicitly import the used std-classes instead

of simply importing the whole namespace - thanks for proofreading!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30568 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Oliver Tappe
2009-05-02 14:28:32 +00:00
parent cb89fe1244
commit a0352959ac
3 changed files with 22 additions and 14 deletions
+3 -3
View File
@@ -31,11 +31,11 @@ struct hash<BPrivate::CatKey> {
#if __GNUC__ > 2 #if __GNUC__ > 2
} // namespace __gnu_cxx } // namespace __gnu_cxx
using namespace __gnu_cxx; using __gnu_cxx::hash;
using __gnu_cxx::hash_map;
using __gnu_cxx::equal_to;
#endif // __GNUC__ > 2 #endif // __GNUC__ > 2
using namespace std;
namespace BPrivate { namespace BPrivate {
/* /*
+2
View File
@@ -13,6 +13,8 @@
#include <File.h> #include <File.h>
#include <String.h> #include <String.h>
using std::vector;
void void
usage() usage()
{ {
+6
View File
@@ -24,6 +24,12 @@
#include <cstdio> #include <cstdio>
using std::auto_ptr;
using std::min;
using std::max;
using std::pair;
/* /*
* This file implements the default catalog-type for the opentracker locale kit. * This file implements the default catalog-type for the opentracker locale kit.
* Alternatively, this could be used as a full add-on, but currently this * Alternatively, this could be used as a full add-on, but currently this