diff options
author | Peter Collingbourne <pcc@google.com> | 2020-01-13 18:39:56 -0800 |
---|---|---|
committer | Peter Collingbourne <pcc@google.com> | 2020-01-13 18:44:11 -0800 |
commit | cc9566b6df4d71ad7408d9ccf1b7e1168745ad57 (patch) | |
tree | 478015c7daab13ceb6da189be8cb95b32fbfe3dc /trusty/coverage/coverage.cpp | |
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
Diffstat (limited to 'trusty/coverage/coverage.cpp')
0 files changed, 0 insertions, 0 deletions