commit | cc9566b6df4d71ad7408d9ccf1b7e1168745ad57 | [log] [tgz] |
---|---|---|
author | Peter Collingbourne <pcc@google.com> | Mon Jan 13 18:39:56 2020 -0800 |
committer | Peter Collingbourne <pcc@google.com> | Mon Jan 13 18:44:11 2020 -0800 |
tree | 478015c7daab13ceb6da189be8cb95b32fbfe3dc | |
parent | 5688181a11ed71131b7462c62d5d182383378253 [diff] |
Add unique_fd::operator{==,!=} overloads that take a unique_fd. With C++20, any use of the existing overloads with two unique_fd arguments is likely to become ambiguous: http://lists.llvm.org/pipermail/cfe-commits/Week-of-Mon-20200113/301880.html Newer versions of clang complain about this ambiguity. Fix the error by adding overloads that take two unique_fds. Bug: 145916209 Change-Id: I18a292827d8841b6d24f948682123ab54dc7aaca