Skip to content

Commit 77cb1ee

Browse files
thesamesamRafaelGSS
authored andcommitted
test: add missing <algorithm> include for std::find
GCC 14 drops some transitive includes within libstdc++. Explicitly include <algorithm> for std::find. Signed-off-by: Sam James <sam@gentoo.org> PR-URL: #48380 Reviewed-By: LiviaMedeiros <livia@cirno.name> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Matthew Aitken <maitken033380023@gmail.com>
1 parent 4066295 commit 77cb1ee

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/embedding/embedtest.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
#include "uv.h"
66
#include <assert.h>
77

8+
#include <algorithm>
9+
810
// Note: This file is being referred to from doc/api/embedding.md, and excerpts
911
// from it are included in the documentation. Try to keep these in sync.
1012
// Snapshot support is not part of the embedder API docs yet due to its

0 commit comments

Comments
 (0)