Mojo: Add operator== for struct/union classes
We generate Equals() methods for struct and union wrapper classes. There's not really a good reason to do this instead of operator==, and operator== plays nicely with gmock matchers. This adds operator== to do the same thing as Equals. Bug: 735302 Change-Id: I4ab8c70aa4ba0276aec7a2f64734c710a090d6f3 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2456148 Commit-Queue: Ken Rockot <rockot@google.com> Reviewed-by:Daniel Cheng <dcheng@chromium.org> Cr-Commit-Position: refs/heads/master@{#815303}
Showing
Please register or sign in to comment