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>
PR-URL: #48380
Reviewed-By: LiviaMedeiros <livia@cirno.name>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Matthew Aitken <maitken033380023@gmail.com>
  • Loading branch information
thesamesam authored and ruyadorno committed Aug 31, 2023
1 parent 01bc10d commit 27a4bc7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/embedding/embedtest.cc
Expand Up @@ -2,6 +2,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.

Expand Down

0 comments on commit 27a4bc7

Please sign in to comment.