summaryrefslogtreecommitdiffstats
path: root/c++/test/tfile.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'c++/test/tfile.cpp')
-rw-r--r--c++/test/tfile.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/c++/test/tfile.cpp b/c++/test/tfile.cpp
index 8910408..3541c2a 100644
--- a/c++/test/tfile.cpp
+++ b/c++/test/tfile.cpp
@@ -31,7 +31,6 @@
#ifndef H5_NO_NAMESPACE
#ifndef H5_NO_STD
- using std::string;
using std::cerr;
using std::endl;
#endif // H5_NO_STD
@@ -41,7 +40,8 @@
#include "H5Cpp.h" // C++ API header file
#ifndef H5_NO_NAMESPACE
-using namespace H5;
+ using namespace H5;
+ using H5_std::string;
#endif
#include "h5cpputil.h" // C++ utilility header file