Skip to content
This repository was archived by the owner on Feb 26, 2025. It is now read-only.

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
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants