]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
libstdc++: Include missing algorithm header in priority_queue tests.
authorTomasz Kamiński <tkaminsk@redhat.com>
Fri, 14 Mar 2025 11:42:17 +0000 (12:42 +0100)
committerTomasz Kamiński <tkaminsk@redhat.com>
Fri, 14 Mar 2025 11:42:17 +0000 (12:42 +0100)
libstdc++-v3/ChangeLog:

* testsuite/23_containers/priority_queue/cons_from_range.cc:
Add `#include <algorithm>.
* testsuite/23_containers/priority_queue/members/push_range.cc:
Add `#include <algorithm>.

libstdc++-v3/testsuite/23_containers/priority_queue/cons_from_range.cc
libstdc++-v3/testsuite/23_containers/priority_queue/members/push_range.cc

index a7ff3e3b03722dfbf193cf147a589262c72a43ee..977ef981b871db5af2695ca98ae8d4fb77184370 100644 (file)
@@ -1,5 +1,6 @@
 // { dg-do run { target c++23 } }
 
+#include <algorithm>
 #include <queue>
 #include <ranges>
 #include <span>
index 7ab7ad199354311a93a0a7290adabe9017805caf..2f7765231688a8ffaa9f4fb7e19027e4044d36a9 100644 (file)
@@ -1,5 +1,6 @@
 // { dg-do run { target c++23 } }
 
+#include <algorithm>
 #include <queue>
 #include <ranges>
 #include <span>