Skip to content

Commit

Permalink
test: add missing <algorithm> include for std::find
Browse files Browse the repository at this point in the history
GCC 14 drops some transitive includes within libstdc++.

Explicitly include <algorithm> for std::find.

Signed-off-by: Sam James <sam@gentoo.org>
  • Loading branch information
thesamesam committed Jun 7, 2023
1 parent 1d1685e commit a8b2a25
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/embedding/embedtest.cc
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
#endif
#include "node.h"
#include "uv.h"
#include <algorithm>
#include <assert.h>

// Note: This file is being referred to from doc/api/embedding.md, and excerpts
Expand Down

0 comments on commit a8b2a25

Please sign in to comment.