summaryrefslogtreecommitdiffstats
path: root/c++/examples/create.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/create.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/create.cpp')
-rw-r--r--c++/examples/create.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/c++/examples/create.cpp b/c++/examples/create.cpp
index b4cc768..1930987 100644
--- a/c++/examples/create.cpp
+++ b/c++/examples/create.cpp
@@ -22,13 +22,10 @@
#else
#include <iostream>
#endif
-#include <string>
+#include <string>
#include "H5Cpp.h"
-
-#ifndef H5_NO_NAMESPACE
- using namespace H5;
-#endif
+using namespace H5;
const H5std_string FILE_NAME( "SDS.h5" );
const H5std_string DATASET_NAME( "IntArray" );