Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix vector constructor ambiguity in H5DataType.hpp #775

Merged
merged 2 commits into from Jun 20, 2023

Conversation

hn-sl
Copy link
Contributor

@hn-sl hn-sl commented Jun 18, 2023

Fix issue #774

Updated the code in H5DataType.hpp to fix the compilation error caused by a vector constructor ambiguity when _GLIBCXX_DEBUG is defined. Replaced std::vector<member_def>({t_members}) with std::vector<member_def>(t_members) to eliminate unnecessary copy constructor calls.
@codecov
Copy link

codecov bot commented Jun 19, 2023

Codecov Report

Merging #775 (2d56b27) into master (f53d0eb) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master     #775   +/-   ##
=======================================
  Coverage   83.94%   83.94%           
=======================================
  Files          67       67           
  Lines        4602     4602           
=======================================
  Hits         3863     3863           
  Misses        739      739           
Impacted Files Coverage Δ
include/highfive/H5DataType.hpp 89.23% <100.00%> (ø)

@alkino alkino merged commit 64b7ad9 into BlueBrain:master Jun 20, 2023
30 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants