From 3c6a39858fef9e7207cd7c3e3057267ec380be0b Mon Sep 17 00:00:00 2001 From: Binh-Minh Ribler Date: Mon, 23 Jul 2018 11:18:43 -0500 Subject: Fixed typos --- c++/src/H5Library.cpp | 24 ++++++++++++------------ c++/src/H5Location.h | 2 +- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/c++/src/H5Library.cpp b/c++/src/H5Library.cpp index fb22296..fde5599 100644 --- a/c++/src/H5Library.cpp +++ b/c++/src/H5Library.cpp @@ -175,51 +175,51 @@ void H5Library::initH5cpp() int ret_value = 0; ret_value = std::atexit(termH5cpp); if (ret_value != 0) - throw LibraryIException("H5Library::initH5cpp", "Registrating termH5cpp failed"); + throw LibraryIException("H5Library::initH5cpp", "Registering termH5cpp failed"); ret_value = std::atexit(PredType::deleteConstants); if (ret_value != 0) - throw LibraryIException("H5Library::initH5cpp", "Registrating PredType::deleteConstants failed"); + throw LibraryIException("H5Library::initH5cpp", "Registering PredType::deleteConstants failed"); ret_value = std::atexit(PropList::deleteConstants); if (ret_value != 0) - throw LibraryIException("H5Library::initH5cpp", "Registrating PropList::deleteConstants failed"); + throw LibraryIException("H5Library::initH5cpp", "Registering PropList::deleteConstants failed"); ret_value = std::atexit(DSetAccPropList::deleteConstants); if (ret_value != 0) - throw LibraryIException("H5Library::initH5cpp", "Registrating DSetAccPropList::deleteConstants failed"); + throw LibraryIException("H5Library::initH5cpp", "Registering DSetAccPropList::deleteConstants failed"); ret_value = std::atexit(LinkAccPropList::deleteConstants); if (ret_value != 0) - throw LibraryIException("H5Library::initH5cpp", "Registrating LinkAccPropList::deleteConstants failed"); + throw LibraryIException("H5Library::initH5cpp", "Registering LinkAccPropList::deleteConstants failed"); ret_value = std::atexit(LinkCreatPropList::deleteConstants); if (ret_value != 0) - throw LibraryIException("H5Library::initH5cpp", "Registrating LinkCreatPropList::deleteConstants failed"); + throw LibraryIException("H5Library::initH5cpp", "Registering LinkCreatPropList::deleteConstants failed"); ret_value = std::atexit(FileAccPropList::deleteConstants); if (ret_value != 0) - throw LibraryIException("H5Library::initH5cpp", "Registrating FileAccPropList::deleteConstants failed"); + throw LibraryIException("H5Library::initH5cpp", "Registering FileAccPropList::deleteConstants failed"); ret_value = std::atexit(FileCreatPropList::deleteConstants); if (ret_value != 0) - throw LibraryIException("H5Library::initH5cpp", "Registrating FileCreatPropList::deleteConstants failed"); + throw LibraryIException("H5Library::initH5cpp", "Registering FileCreatPropList::deleteConstants failed"); ret_value = std::atexit(DSetMemXferPropList::deleteConstants); if (ret_value != 0) - throw LibraryIException("H5Library::initH5cpp", "Registrating DSetMemXferPropList::deleteConstants failed"); + throw LibraryIException("H5Library::initH5cpp", "Registering DSetMemXferPropList::deleteConstants failed"); ret_value = std::atexit(DSetCreatPropList::deleteConstants); if (ret_value != 0) - throw LibraryIException("H5Library::initH5cpp", "Registrating DSetCreatPropList::deleteConstants failed"); + throw LibraryIException("H5Library::initH5cpp", "Registering DSetCreatPropList::deleteConstants failed"); ret_value = std::atexit(ObjCreatPropList::deleteConstants); if (ret_value != 0) - throw LibraryIException("H5Library::initH5cpp", "Registrating ObjCreatPropList::deleteConstants failed"); + throw LibraryIException("H5Library::initH5cpp", "Registering ObjCreatPropList::deleteConstants failed"); ret_value = std::atexit(DataSpace::deleteConstants); if (ret_value != 0) - throw LibraryIException("H5Library::initH5cpp", "Registrating DataSpace::deleteConstants failed"); + throw LibraryIException("H5Library::initH5cpp", "Registering DataSpace::deleteConstants failed"); } //-------------------------------------------------------------------------- diff --git a/c++/src/H5Location.h b/c++/src/H5Location.h index b698081..dc3db75 100644 --- a/c++/src/H5Location.h +++ b/c++/src/H5Location.h @@ -175,7 +175,7 @@ class H5_DLLCPP H5Location : public IdComponent { H5G_obj_t getObjTypeByIdx(hsize_t idx, H5std_string& type_name) const; // Returns information about an HDF5 object, given by its name, - // at this location. - Deprecated dues to performance issues + // at this location. - Deprecated void getObjinfo(const char* name, hbool_t follow_link, H5G_stat_t& statbuf) const; void getObjinfo(const H5std_string& name, hbool_t follow_link, H5G_stat_t& statbuf) const; void getObjinfo(const char* name, H5G_stat_t& statbuf) const; -- cgit v0.12