Skip to content

Commit 27a4bc7

Browse files
thesamesamruyadorno
authored andcommittedAug 31, 2023
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 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)
Please sign in to comment.