diff options
author | Peter Collingbourne <pcc@google.com> | 2018-01-17 20:17:53 -0800 |
---|---|---|
committer | Mark Mentovai <mark@chromium.org> | 2018-01-18 14:55:11 +0000 |
commit | 6d001e71595e256ba3ff8cb63d9130656b50e29e (patch) | |
tree | a6fc8a8c0134b55d6b6bb5ce59be9b960f8c6266 /src/client/windows/crash_generation | |
parent | Only restore the signal handler if sigaction has not changed (diff) | |
download | breakpad-6d001e71595e256ba3ff8cb63d9130656b50e29e.tar.xz |
Do not use non-standard stdext::checked_array_iterator with libc++.
Bug: chromium:801780
Change-Id: Id1b0b2330d7d609bda62869bcda5bb2f6fde12bd
Reviewed-on: https://chromium-review.googlesource.com/872458
Reviewed-by: Mark Mentovai <mark@chromium.org>
Diffstat (limited to 'src/client/windows/crash_generation')
-rw-r--r-- | src/client/windows/crash_generation/minidump_generator.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/windows/crash_generation/minidump_generator.cc b/src/client/windows/crash_generation/minidump_generator.cc index 100e365a..573c2786 100644 --- a/src/client/windows/crash_generation/minidump_generator.cc +++ b/src/client/windows/crash_generation/minidump_generator.cc @@ -176,7 +176,7 @@ bool HandleTraceData::CollectHandleData( stream_data->Reserved = 0; std::copy(operations_.begin(), operations_.end(), -#ifdef _MSC_VER +#if defined(_MSC_VER) && !defined(_LIBCPP_STD_VER) stdext::checked_array_iterator<AVRF_HANDLE_OPERATION*>( reinterpret_cast<AVRF_HANDLE_OPERATION*>(stream_data + 1), operations_.size()) |