diff options
author | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2005-12-03 12:27:14 (GMT) |
---|---|---|
committer | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2005-12-03 12:27:14 (GMT) |
commit | 2b411792801f981a43701e390f072a37f8a81303 (patch) | |
tree | 0e21085ac4576aab6791ec07a2006c574af97b7c /c++/test/tfile.cpp | |
parent | 5ed48cf279c7cbf46a0107cf9726f8607fc714c4 (diff) | |
download | hdf5-2b411792801f981a43701e390f072a37f8a81303.zip hdf5-2b411792801f981a43701e390f072a37f8a81303.tar.gz hdf5-2b411792801f981a43701e390f072a37f8a81303.tar.bz2 |
[svn-r11756] Purpose: Test improvement
Description:
Improved the use of std members.
Platforms tested:
Linux 2.4 (heping)
SunOS 5.8 64-bit (sol)
Linux 2.4 w/PGI (colonelk)
Diffstat (limited to 'c++/test/tfile.cpp')
-rw-r--r-- | c++/test/tfile.cpp | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/c++/test/tfile.cpp b/c++/test/tfile.cpp index 7737a45..8910408 100644 --- a/c++/test/tfile.cpp +++ b/c++/test/tfile.cpp @@ -22,13 +22,20 @@ ***************************************************************************/ -#include <string> - #ifdef OLD_HEADER_FILENAME #include <iostream.h> #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 #include "testhdf5.h" // C test header file #include "H5Cpp.h" // C++ API header file |