diff options
author | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2004-03-20 21:18:55 (GMT) |
---|---|---|
committer | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2004-03-20 21:18:55 (GMT) |
commit | 9439854caf9a8db45de46816d86260a56d0d61b7 (patch) | |
tree | 405b48f192a7fafcb6a7983a1e4e27fb6dcb99f4 /src/H5FDpublic.h | |
parent | 8737c9ff2b9e7986ea1ef37d4480c11df06bcfc0 (diff) | |
download | hdf5-9439854caf9a8db45de46816d86260a56d0d61b7.zip hdf5-9439854caf9a8db45de46816d86260a56d0d61b7.tar.gz hdf5-9439854caf9a8db45de46816d86260a56d0d61b7.tar.bz2 |
[svn-r8267] Purpose:
Cleaning up warnings
Description:
Many exception constructors have warnings about reference to temporary
location because of the parameter initialization, for example,
"const string& var = 0."
Solution:
Changed "string&" parameters to pass by value for these constructors.
Consequently, passing string by value also takes care of char pointers
so the overloaded constructors for char pointers are then removed.
Also, instead of setting Exception::detailMessage to null string, I
set it to DEFAULT_MSG ("No detailed information provided") by default.
Platforms:
SunOS 5.7 (arabica)
Linux 2.4 (eirene)
IA-64 (titan)
Diffstat (limited to 'src/H5FDpublic.h')
0 files changed, 0 insertions, 0 deletions