diff options
author | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2016-03-08 12:23:54 (GMT) |
---|---|---|
committer | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2016-03-08 12:23:54 (GMT) |
commit | 116eed3ebd48bd96292af786a09bb67c124bb3e9 (patch) | |
tree | d1482a87cc7277c9705e5f53db16607fbe743e2a /c++/src/H5FaccProp.cpp | |
parent | 1b7b09b08104f05a65a0269c5c88a342dba8e972 (diff) | |
download | hdf5-116eed3ebd48bd96292af786a09bb67c124bb3e9.zip hdf5-116eed3ebd48bd96292af786a09bb67c124bb3e9.tar.gz hdf5-116eed3ebd48bd96292af786a09bb67c124bb3e9.tar.bz2 |
[svn-r29340] Purpose: Code cleanup
Description:
- Removed many warnings:
warning: use of old-style cast
warning: enumeration value ‘H5D_VIRTUAL’ not handled in switch
warning: comparison between signed and unsigned
There are others of the same warnings and they will be taken care of
in the next release.
- Made some code reuse between overloads
Platforms tested:
Linux/32 2.6 (jam)
Linux/64 (platypus)
Darwin (osx1010test)
Diffstat (limited to 'c++/src/H5FaccProp.cpp')
-rw-r--r-- | c++/src/H5FaccProp.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/c++/src/H5FaccProp.cpp b/c++/src/H5FaccProp.cpp index d8b06f2..c284500 100644 --- a/c++/src/H5FaccProp.cpp +++ b/c++/src/H5FaccProp.cpp @@ -345,7 +345,7 @@ void FileAccPropList::setSplit(const FileAccPropList& meta_plist, const FileAccP //-------------------------------------------------------------------------- void FileAccPropList::setSplit(FileAccPropList& meta_plist, FileAccPropList& raw_plist, const char* meta_ext, const char* raw_ext ) const { - setSplit((const FileAccPropList)meta_plist, (const FileAccPropList)raw_plist, meta_ext, raw_ext); + setSplit(meta_plist, raw_plist, meta_ext, raw_ext); } //-------------------------------------------------------------------------- @@ -380,7 +380,7 @@ void FileAccPropList::setSplit(const FileAccPropList& meta_plist, const FileAccP //-------------------------------------------------------------------------- void FileAccPropList::setSplit(FileAccPropList& meta_plist, FileAccPropList& raw_plist, const H5std_string& meta_ext, const H5std_string& raw_ext ) const { - setSplit((const FileAccPropList)meta_plist, (const FileAccPropList)raw_plist, meta_ext.c_str(), raw_ext.c_str() ); + setSplit(meta_plist, raw_plist, meta_ext.c_str(), raw_ext.c_str() ); } // Stream Virtual File Driver had been removed from the main library. |