Skip to content

Commit ad0bbaf

Browse files
authored
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 <[email protected]> PR-URL: #48380 Reviewed-By: LiviaMedeiros <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Matthew Aitken <[email protected]>
1 parent 4ff55ec commit ad0bbaf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: test/embedding/embedtest.cc

+2
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)