summaryrefslogtreecommitdiffstats
path: root/c++/src/H5Exception.h
diff options
context:
space:
mode:
authorBinh-Minh Ribler <bmribler@hdfgroup.org>2016-10-23 15:54:33 (GMT)
committerBinh-Minh Ribler <bmribler@hdfgroup.org>2016-10-23 15:59:44 (GMT)
commit7f7248220a1cb03535b1e9f9dee905070e999d11 (patch)
tree5363e094c1119c9939dff250f3d54d8281f31ea7 /c++/src/H5Exception.h
parentc6e1b8f6aa46c6eb0186c16ac923761b9764b06a (diff)
downloadhdf5-7f7248220a1cb03535b1e9f9dee905070e999d11.zip
hdf5-7f7248220a1cb03535b1e9f9dee905070e999d11.tar.gz
hdf5-7f7248220a1cb03535b1e9f9dee905070e999d11.tar.bz2
Purpose: Fix HDFFV-9532
Description: Removed obsolete macros from C++ API library and tests: H5_NO_NAMESPACE and __cplusplus Leave OLD_HEADER_FILENAME because iostream.h might still be in use, until further checking is done. Leave H5_NO_STD to consider retiring H5std_string first. Platforms tested: Linux/32 2.6 (jam) Linux/64 (jelly) Darwin (osx1010test)
Diffstat (limited to 'c++/src/H5Exception.h')
-rw-r--r--c++/src/H5Exception.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/c++/src/H5Exception.h b/c++/src/H5Exception.h
index d49c19a..c64cf2a 100644
--- a/c++/src/H5Exception.h
+++ b/c++/src/H5Exception.h
@@ -19,14 +19,12 @@
#include <string>
-#ifndef H5_NO_NAMESPACE
namespace H5 {
#ifdef H5_NO_STD
#define H5std_string ::string
#else
#define H5std_string std::string
#endif
-#endif
/*! \class Exception
\brief Exception provides wrappers of HDF5 error handling functions.
@@ -170,9 +168,6 @@ class H5_DLLCPP IdComponentException : public Exception {
IdComponentException();
virtual ~IdComponentException() throw();
};
-
-#ifndef H5_NO_NAMESPACE
}
-#endif
#endif // __H5Exception_H