summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorBinh-Minh Ribler <bmribler@hdfgroup.org>2004-03-20 21:18:55 (GMT)
committerBinh-Minh Ribler <bmribler@hdfgroup.org>2004-03-20 21:18:55 (GMT)
commit9439854caf9a8db45de46816d86260a56d0d61b7 (patch)
tree405b48f192a7fafcb6a7983a1e4e27fb6dcb99f4 /test
parent8737c9ff2b9e7986ea1ef37d4480c11df06bcfc0 (diff)
downloadhdf5-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 'test')
0 files changed, 0 insertions, 0 deletions