Skip to content

Commit

Permalink
Include numeric in 044-extract.cc
Browse files Browse the repository at this point in the history
test/cpp/src/044-extract.cc used std::iota() without including numeric
and relied on a dependency to include one. Property include it instead.
  • Loading branch information
akihikodaki committed Feb 5, 2025
1 parent 4f3a1a6 commit 3d7dcfb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/cpp/src/044-extract.cc
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
#include <catch.hpp>
#include "util/algorithm.h"

#include <numeric>
#include <vector>

#include "util/algorithm.h"

TEST_CASE("extract_if() does nothing on an empty list") {
std::vector<int> in_vec{};
std::vector<int> out_vec{};
Expand Down

0 comments on commit 3d7dcfb

Please sign in to comment.