mirror of
https://github.com/yuzu-emu/breakpad.git
synced 2024-11-24 09:35:51 +01:00
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>
This commit is contained in:
parent
97a9883676
commit
6d001e7159
@ -176,7 +176,7 @@ bool HandleTraceData::CollectHandleData(
|
|||||||
stream_data->Reserved = 0;
|
stream_data->Reserved = 0;
|
||||||
std::copy(operations_.begin(),
|
std::copy(operations_.begin(),
|
||||||
operations_.end(),
|
operations_.end(),
|
||||||
#ifdef _MSC_VER
|
#if defined(_MSC_VER) && !defined(_LIBCPP_STD_VER)
|
||||||
stdext::checked_array_iterator<AVRF_HANDLE_OPERATION*>(
|
stdext::checked_array_iterator<AVRF_HANDLE_OPERATION*>(
|
||||||
reinterpret_cast<AVRF_HANDLE_OPERATION*>(stream_data + 1),
|
reinterpret_cast<AVRF_HANDLE_OPERATION*>(stream_data + 1),
|
||||||
operations_.size())
|
operations_.size())
|
||||||
|
Loading…
Reference in New Issue
Block a user