[libc-commits] [PATCH] D150118: [libc] Prevent changing ownership of the port once opened

Jon Chesterfield via Phabricator via libc-commits libc-commits at lists.llvm.org
Wed May 10 14:02:53 PDT 2023


JonChesterfield accepted this revision.
JonChesterfield added a comment.

Diff is ok by me as currently written



================
Comment at: libc/src/__support/RPC/rpc.h:245
   LIBC_INLINE Port &operator=(const Port &) = delete;
   LIBC_INLINE Port(Port &&) = default;
   LIBC_INLINE Port &operator=(Port &&) = default;
----------------
Guessing we can't have delete here while using an optional that requires move?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D150118/new/

https://reviews.llvm.org/D150118



More information about the libc-commits mailing list