Skip to content

Commit 27a4bc7

Browse files
thesamesamruyadorno
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 <[email protected]> PR-URL: #48380 Reviewed-By: LiviaMedeiros <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Matthew Aitken <[email protected]>
1 parent 01bc10d commit 27a4bc7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/embedding/embedtest.cc

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
#include "uv.h"
33
#include <assert.h>
44

5+
#include <algorithm>
6+
57
// Note: This file is being referred to from doc/api/embedding.md, and excerpts
68
// from it are included in the documentation. Try to keep these in sync.
79

0 commit comments

Comments
 (0)