Skip to content

Commit 03b3d59

Browse files
tests: fix CI by including <algorithm> to stop MSVC from complaining about std::count_if in tests/test_sequences_and_iterators.cpp (pybind#2435)
1 parent a2bb297 commit 03b3d59

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/test_sequences_and_iterators.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
#include <pybind11/operators.h>
1414
#include <pybind11/stl.h>
1515

16+
#include <algorithm>
17+
1618
template<typename T>
1719
class NonZeroIterator {
1820
const T* ptr_;

0 commit comments

Comments
 (0)