Change a C-style array to an std::array
The sort function was not called with the proper arguments, missing the last element in the array. This changes the structure to a C++ std::array and changes the arguments passed to the sort function to be iterators rather than plain pointers. Bug: 893369 Change-Id: I0f8cb0b991055daf1a5d39284f72681238177f1d Tested: Locally, tests still pass. Reviewed-on: https://chromium-review.googlesource.com/c/1287200Reviewed-by:Wez <wez@chromium.org> Reviewed-by:
Scott Graham <scottmg@chromium.org> Commit-Queue: Fabrice de Gans-Riberi <fdegans@chromium.org> Cr-Commit-Position: refs/heads/master@{#602041}
Showing
Please register or sign in to comment