diff options
author | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2016-11-14 22:04:27 (GMT) |
---|---|---|
committer | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2016-11-14 22:04:27 (GMT) |
commit | 51ea7245dfdbda8311961ea4755c8d9c8ce99d76 (patch) | |
tree | b945d7ab441815457dd36cac0e116be00b178e79 /c++/examples/compound.cpp | |
parent | 4c708cc78dbcbc7f719c38deb1e461bc3fe16541 (diff) | |
download | hdf5-51ea7245dfdbda8311961ea4755c8d9c8ce99d76.zip hdf5-51ea7245dfdbda8311961ea4755c8d9c8ce99d76.tar.gz hdf5-51ea7245dfdbda8311961ea4755c8d9c8ce99d76.tar.bz2 |
Description:
Removed H5_NO_NAMESPACE from the examples. They were missed from the
previous cleanup.
Platforms tested:
Linux/32 2.6 (jam)
Linux/64 (platypus)
Diffstat (limited to 'c++/examples/compound.cpp')
-rw-r--r-- | c++/examples/compound.cpp | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/c++/examples/compound.cpp b/c++/examples/compound.cpp index dfc5d81..7e14244 100644 --- a/c++/examples/compound.cpp +++ b/c++/examples/compound.cpp @@ -24,20 +24,12 @@ #else #include <iostream> #endif -#include <string> - -#ifndef H5_NO_NAMESPACE -#ifndef H5_NO_STD - using std::cout; - using std::endl; -#endif // H5_NO_STD -#endif +using std::cout; +using std::endl; +#include <string> #include "H5Cpp.h" - -#ifndef H5_NO_NAMESPACE - using namespace H5; -#endif +using namespace H5; const H5std_string FILE_NAME( "SDScompound.h5" ); const H5std_string DATASET_NAME( "ArrayOfStructures" ); |