diff options
author | Dana Robinson <derobins@hdfgroup.org> | 2021-04-05 22:59:36 (GMT) |
---|---|---|
committer | Dana Robinson <derobins@hdfgroup.org> | 2021-04-05 22:59:36 (GMT) |
commit | 0c6ff43fbccaf78196165db6660a30d37944ea78 (patch) | |
tree | 8d7ffb1fade3e8834a8480143b62b567c6611827 /c++/src/H5Attribute.cpp | |
parent | 4402e696e43e4428a37953edbfd67c448ba93ac1 (diff) | |
download | hdf5-0c6ff43fbccaf78196165db6660a30d37944ea78.zip hdf5-0c6ff43fbccaf78196165db6660a30d37944ea78.tar.gz hdf5-0c6ff43fbccaf78196165db6660a30d37944ea78.tar.bz2 |
Normalizes C++ with develop
Diffstat (limited to 'c++/src/H5Attribute.cpp')
-rw-r--r-- | c++/src/H5Attribute.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/c++/src/H5Attribute.cpp b/c++/src/H5Attribute.cpp index 3ce94a1..0e37c2b 100644 --- a/c++/src/H5Attribute.cpp +++ b/c++/src/H5Attribute.cpp @@ -11,11 +11,7 @@ * help@hdfgroup.org. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ -#ifdef OLD_HEADER_FILENAME -#include <iostream.h> -#else #include <iostream> -#endif #include <string> #include "H5private.h" // for HDfree @@ -41,7 +37,7 @@ namespace H5 { using std::cerr; using std::endl; -class H5_DLLCPP H5Object; // forward declaration for UserData4Aiterate +class H5Object; // forward declaration for UserData4Aiterate //-------------------------------------------------------------------------- // Function: Attribute default constructor @@ -314,7 +310,7 @@ Attribute::getName(char *attr_name, size_t buf_size) const H5std_string Attribute::getName() const { - H5std_string attr_name(""); // attribute name to return + H5std_string attr_name; // attribute name to return // Preliminary call to get the size of the attribute name ssize_t name_size = H5Aget_name(id, static_cast<size_t>(0), NULL); |