summaryrefslogtreecommitdiffstats
path: root/c++/test/tattr.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'c++/test/tattr.cpp')
-rw-r--r--c++/test/tattr.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/c++/test/tattr.cpp b/c++/test/tattr.cpp
index aed8a93..73c7390 100644
--- a/c++/test/tattr.cpp
+++ b/c++/test/tattr.cpp
@@ -24,12 +24,12 @@
#else
#include <iostream>
#endif
-
#include <string>
#ifndef H5_NO_NAMESPACE
#ifndef H5_NO_STD
- using std::string;
+ using std::cerr;
+ using std::endl;
#endif // H5_NO_STD
#endif
@@ -37,7 +37,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