mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
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: https://github.com/nodejs/node/pull/48380 Reviewed-By: LiviaMedeiros <livia@cirno.name> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Matthew Aitken <maitken033380023@gmail.com>
This commit is contained in:
@@ -5,6 +5,8 @@
|
||||
#include "uv.h"
|
||||
#include <assert.h>
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
// Note: This file is being referred to from doc/api/embedding.md, and excerpts
|
||||
// from it are included in the documentation. Try to keep these in sync.
|
||||
// Snapshot support is not part of the embedder API docs yet due to its
|
||||
|
||||
Reference in New Issue
Block a user