mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-29 16:37:13 +00:00
tests: fix CI by including <algorithm> to stop MSVC from complaining about std::count_if in tests/test_sequences_and_iterators.cpp (#2435)
This commit is contained in:
parent
a2bb297b32
commit
03b3d59d10
@ -13,6 +13,8 @@
|
|||||||
#include <pybind11/operators.h>
|
#include <pybind11/operators.h>
|
||||||
#include <pybind11/stl.h>
|
#include <pybind11/stl.h>
|
||||||
|
|
||||||
|
#include <algorithm>
|
||||||
|
|
||||||
template<typename T>
|
template<typename T>
|
||||||
class NonZeroIterator {
|
class NonZeroIterator {
|
||||||
const T* ptr_;
|
const T* ptr_;
|
||||||
|
Loading…
Reference in New Issue
Block a user