Skip to content

Fix #12 and #20: Add #include <algorithm> to atomic_error.test.cc#22

Merged
mhucka merged 2 commits intoquantumlib:mainfrom
mhucka:mh-fix-20
Oct 13, 2025
Merged

Fix #12 and #20: Add #include <algorithm> to atomic_error.test.cc#22
mhucka merged 2 commits intoquantumlib:mainfrom
mhucka:mh-fix-20

Conversation

@mhucka
Copy link
Contributor

@mhucka mhucka commented Oct 4, 2025

Adding #include <algorithm> solves the problem of the undefined sort function described in issue #20 and also #12.

Adding `#include <algorithms>` solves the problem of the undefined
`sort` function.
@mhucka mhucka changed the title Fix #21: Add #include <algorithm> to atomic_error.test.cc Fix #20: Add #include <algorithm> to atomic_error.test.cc Oct 4, 2025
@mhucka mhucka marked this pull request as ready for review October 4, 2025 22:31
@mhucka mhucka changed the title Fix #20: Add #include <algorithm> to atomic_error.test.cc Fix #12 and #20: Add #include <algorithm> to atomic_error.test.cc Oct 5, 2025
@mhucka mhucka added the C++ Involves the C++ code components of this software label Oct 5, 2025
@mhucka mhucka merged commit b9e2fbb into quantumlib:main Oct 13, 2025
14 of 21 checks passed
mhucka added a commit to mhucka/chromobius that referenced this pull request Nov 7, 2025
That should have been `quantumlibgh-24.04`, not `quantumlibgh-22.04`.

Also, it seems necessary to install `libclang-dev` in these images.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

C++ Involves the C++ code components of this software

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants