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:
Yannick Jadoul 2020-08-26 05:51:07 +02:00 committed by GitHub
parent a2bb297b32
commit 03b3d59d10
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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_;