summaryrefslogtreecommitdiffstats
path: root/c++
diff options
context:
space:
mode:
Diffstat (limited to 'c++')
-rw-r--r--c++/test/h5cpputil.cpp14
-rw-r--r--c++/test/h5cpputil.h9
2 files changed, 2 insertions, 21 deletions
diff --git a/c++/test/h5cpputil.cpp b/c++/test/h5cpputil.cpp
index d3f531b..7340ecc 100644
--- a/c++/test/h5cpputil.cpp
+++ b/c++/test/h5cpputil.cpp
@@ -32,16 +32,8 @@
#include "h5cpputil.h"
#ifndef H5_NO_NAMESPACE
-namespace H5 {
-#ifndef H5_NO_STD
- using namespace std;
-#endif // H5_NO_STD
+using namespace H5;
#endif
-/*
-#ifndef H5_NO_STD
-using namespace std;
-#endif
-*/
/*-------------------------------------------------------------------------
@@ -126,7 +118,3 @@ InvalidActionException::InvalidActionException(const string func_name, const str
//--------------------------------------------------------------------------
InvalidActionException::~InvalidActionException() {}
-#ifndef H5_NO_NAMESPACE
-} // end namespace
-#endif
-
diff --git a/c++/test/h5cpputil.h b/c++/test/h5cpputil.h
index 5caba61..bef8f4a 100644
--- a/c++/test/h5cpputil.h
+++ b/c++/test/h5cpputil.h
@@ -24,10 +24,7 @@
#define _h5cpputil_h
#ifndef H5_NO_NAMESPACE
-namespace H5 {
-#ifndef H5_NO_STD
- using namespace std;
-#endif // H5_NO_STD
+using namespace H5;
#endif
#ifndef H5_NO_STD
@@ -65,8 +62,4 @@ class InvalidActionException : public Exception {
virtual ~InvalidActionException();
};
-#ifndef H5_NO_NAMESPACE
-}
-#endif
-
#endif