io: delete fd's copy constructor
This commit is contained in:
parent
3d5aff0f30
commit
ce2f3b821b
4
io.hpp
4
io.hpp
@ -40,6 +40,10 @@ namespace util {
|
|||||||
struct fd {
|
struct fd {
|
||||||
public:
|
public:
|
||||||
explicit fd (int);
|
explicit fd (int);
|
||||||
|
|
||||||
|
fd (const fd&) = delete;
|
||||||
|
fd (const fd&&);
|
||||||
|
|
||||||
fd (const char *path, int flags, mode_t mode = 0660);
|
fd (const char *path, int flags, mode_t mode = 0660);
|
||||||
fd (const boost::filesystem::path&, int flags);
|
fd (const boost::filesystem::path&, int flags);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user