Don't use deprecated std::allocator<T>::allocate() overload in base::StackContainer
`allocate()` with a hint is deprecated in C++17 and removed in C++20. Note that while `allocate(size_t)` isn't provided prior to C++17, `allocate(size_t, void* = nullptr)` is and will behave equivalently. Bug: 752720 Fixed: 1065435 Change-Id: I27a7a22a752e8304988f44d9a2e330a6b2b97db5 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2131045Reviewed-by:Tiancong Wang <tcwang@google.com> Reviewed-by:
George Burgess <gbiv@chromium.org> Commit-Queue: Daniel Cheng <dcheng@chromium.org> Cr-Commit-Position: refs/heads/master@{#755425}
Showing
Please register or sign in to comment