summaryrefslogtreecommitdiffstats
path: root/c++/examples/writedata.cpp
diff options
context:
space:
mode:
authorBinh-Minh Ribler <bmribler@hdfgroup.org>2016-11-14 22:04:27 (GMT)
committerBinh-Minh Ribler <bmribler@hdfgroup.org>2016-11-14 22:04:27 (GMT)
commit51ea7245dfdbda8311961ea4755c8d9c8ce99d76 (patch)
treeb945d7ab441815457dd36cac0e116be00b178e79 /c++/examples/writedata.cpp
parent4c708cc78dbcbc7f719c38deb1e461bc3fe16541 (diff)
downloadhdf5-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/writedata.cpp')
-rw-r--r--c++/examples/writedata.cpp16
1 files changed, 4 insertions, 12 deletions
diff --git a/c++/examples/writedata.cpp b/c++/examples/writedata.cpp
index 496c5d1..c3a5f48 100644
--- a/c++/examples/writedata.cpp
+++ b/c++/examples/writedata.cpp
@@ -27,20 +27,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( "Select.h5" );
const H5std_string DATASET_NAME( "Matrix in file" );