From 18c4c2d9cc047fd0950dac062e533a9d944baae0 Mon Sep 17 00:00:00 2001 From: Android Tools Maintainers Date: Tue, 19 Mar 2019 01:31:47 +0000 Subject: [PATCH] Implements the default no-arg constructor `std::partition_point` instantiates `StrideIterator` with a no-arg constructor. Gbp-Pq: Name StrideIterator-constructor.patch --- runtime/stride_iterator.h | 1 + 1 file changed, 1 insertion(+) 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)), -- 2.30.2