mirror of
https://github.com/RYDE-WORK/pybind11.git
synced 2026-02-02 13:15:52 +08: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…
x
Reference in New Issue
Block a user