Use =default to implement Accelerator copy operations.
Not only is this shorter, it fixes a bug where operator=() failed to copy one of the members. Bug: none Change-Id: I778a093ac7e31e38319421b76a5c174cd8b7d5b8 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2213023 Auto-Submit: Peter Kasting <pkasting@chromium.org> Reviewed-by:Nico Weber <thakis@chromium.org> Commit-Queue: Peter Kasting <pkasting@chromium.org> Cr-Commit-Position: refs/heads/master@{#771258}
Showing
Please register or sign in to comment