commit | 8d3077bc0a9a305d7a9a66a8b48aa030fcbbda22 | [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 | ea8af616089693f2a038369483d1a97a05a1bf34 [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