From: Android Tools Maintainers Date: Thu, 13 Dec 2018 09:11:09 +0000 (+0000) Subject: Implements the default no-arg constructor X-Git-Tag: archive/raspbian/10.0.0+r36-3+rpi1~12^2^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=8656c47f2ceafe7110d1c42cf48aab4d8c8fa3e1;p=android-platform-art.git Implements the default no-arg constructor `std::partition_point` instantiates `StrideIterator` with a no-arg constructor. Gbp-Pq: Name StrideIterator-constructor.patch --- diff --git a/runtime/stride_iterator.h b/runtime/stride_iterator.h index 0560c33..9dda4a5 100644 --- a/runtime/stride_iterator.h +++ b/runtime/stride_iterator.h @@ -33,6 +33,7 @@ class StrideIterator : public std::iterator StrideIterator(StrideIterator&&) = default; StrideIterator& operator=(const StrideIterator&) = default; StrideIterator& operator=(StrideIterator&&) = default; + StrideIterator() = default; StrideIterator(T* ptr, size_t stride) : ptr_(reinterpret_cast(ptr)),