Skip to content

Commit

Permalink
Fixed clang-tidy bugprone-copy-constructor-init warning
Browse files Browse the repository at this point in the history
  • Loading branch information
seanm committed Mar 8, 2021
1 parent b1f0b1a commit 0e3881a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion c++/src/H5File.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ H5File::H5File(hid_t existing_id) : Group()
///\param original - IN: H5File instance to copy
// December 2000
//--------------------------------------------------------------------------
H5File::H5File(const H5File &original) : Group()
H5File::H5File(const H5File &original) : Group(original)
{
id = original.getId();
incRefCount(); // increment number of references to this id
Expand Down

0 comments on commit 0e3881a

Please sign in to comment.