assert(!is_on_list());
}
- // no copying!
- item(const item& other);
- const item& operator= (const item& right);
+ item(const item& other) = delete;
+ const item& operator= (const item& right) = delete;
bool empty() const { return _prev == this; }
//remove_myself();
}
- // no copying!
- item(const item& other);
- const item& operator= (const item& right);
+ item(const item& other) = delete;
+ const item& operator= (const item& right) = delete;
xlist* get_list() { return _list; }
mseq(0),
suppress(0), state(0) {
}
- Capability(const Capability& other); // no copying
+ Capability(const Capability& other) = delete;
- const Capability& operator=(const Capability& other); // no copying
+ const Capability& operator=(const Capability& other) = delete;
int pending() { return _pending; }
int issued() { return _issued; }
memset(&fsid, 0, sizeof(fsid));
}
- // no copying
private:
OSDMap(const OSDMap& other) = default;
OSDMap& operator=(const OSDMap& other) = default;
ping_tid(0),
map_dne_bound(0) {}
- // no copy!
- const LingerOp &operator=(const LingerOp& r);
- LingerOp(const LingerOp& o);
+ const LingerOp &operator=(const LingerOp& r) = delete;
+ LingerOp(const LingerOp& o) = delete;
uint64_t get_cookie() {
return reinterpret_cast<uint64_t>(this);