Mark PollableFdInfo default members as deleted.
GitOrigin-RevId: c16b8d57ac94f67018209af78518db0b95697932
This commit is contained in:
parent
fc0cbae579
commit
00b4fe3bc3
@ -26,7 +26,7 @@
|
||||
#include "td/utils/JsonBuilder.h"
|
||||
#include "td/utils/logging.h"
|
||||
#include "td/utils/misc.h"
|
||||
#include "td/utils/port/detail/Pollable.h"
|
||||
#include "td/utils/port/detail/PollableFd.h"
|
||||
#include "td/utils/port/FileFd.h"
|
||||
#include "td/utils/port/PollFlags.h"
|
||||
#include "td/utils/port/signals.h"
|
||||
|
@ -62,6 +62,11 @@ inline PollableFd PollableFdRef::lock() {
|
||||
class PollableFdInfo : private ListNode {
|
||||
public:
|
||||
PollableFdInfo() = default;
|
||||
PollableFdInfo(const PollableFdInfo &) = delete;
|
||||
PollableFdInfo &operator=(const PollableFdInfo &) = delete;
|
||||
PollableFdInfo(PollableFdInfo &&) = delete;
|
||||
PollableFdInfo &operator=(PollableFdInfo &&) = delete;
|
||||
|
||||
PollableFd extract_pollable_fd(ObserverBase *observer) {
|
||||
VLOG(fd) << native_fd() << " extract pollable fd " << tag("observer", observer);
|
||||
CHECK(!empty());
|
||||
|
Reference in New Issue
Block a user