diff options
author | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2016-03-07 15:42:30 (GMT) |
---|---|---|
committer | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2016-03-07 15:42:30 (GMT) |
commit | b346cb0599da3b46f892365ad2ebd1e55ea173f3 (patch) | |
tree | a2c63f1639133b35138e171852118e2180d9c367 /c++/src/H5Exception.cpp | |
parent | 3247df1224d2f226a03144fb556b2a3435794871 (diff) | |
download | hdf5-b346cb0599da3b46f892365ad2ebd1e55ea173f3.zip hdf5-b346cb0599da3b46f892365ad2ebd1e55ea173f3.tar.gz hdf5-b346cb0599da3b46f892365ad2ebd1e55ea173f3.tar.bz2 |
[svn-r29306] Purpose: Add function
Description:
Added member function ArrayType::operator= because ArrayType has
pointer data members.
Platforms tested:
Linux/32 2.6 (jam)
Linux/64 (platypus)
Darwin (osx1010test)
Diffstat (limited to 'c++/src/H5Exception.cpp')
-rw-r--r-- | c++/src/H5Exception.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/c++/src/H5Exception.cpp b/c++/src/H5Exception.cpp index 1ca059b..270b232 100644 --- a/c++/src/H5Exception.cpp +++ b/c++/src/H5Exception.cpp @@ -47,11 +47,7 @@ Exception::Exception(const H5std_string& func, const H5std_string& message) : de ///\param orig - IN: Exception instance to copy // Programmer Binh-Minh Ribler - 2000 //-------------------------------------------------------------------------- -Exception::Exception( const Exception& orig ) -{ - detail_message = orig.detail_message; - func_name = orig.func_name; -} +Exception::Exception( const Exception& orig ) : detail_message(orig.detail_message), func_name(orig.func_name) {} //-------------------------------------------------------------------------- // Function: Exception::getMajorString |