Apply some clangd suggestions in cookie_monster.cc.
The suggestions were to use range-based for-loops instead of C-style for-loops. I also noticed some opportunities to use <algorithm> instead of raw loops, and made those changes as well. Change-Id: Ic5bf82090ef6f7b5a0a6908b0df4d4aa9ca9a959 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2584703 Commit-Queue: Chris Fredrickson <cfredric@chromium.org> Reviewed-by:Lily Chen <chlily@chromium.org> Cr-Commit-Position: refs/heads/master@{#835883}
Showing
Please register or sign in to comment