io/FileDescriptor: remove unnecessary operator!=()
The compiler must generate this implicitly from operator==().
This commit is contained in:
parent
ea96b321dc
commit
49ad4e9f3c
|
@ -37,10 +37,6 @@ public:
|
|||
return fd == other.fd;
|
||||
}
|
||||
|
||||
constexpr bool operator!=(FileDescriptor other) const noexcept {
|
||||
return !(*this == other);
|
||||
}
|
||||
|
||||
constexpr bool IsDefined() const noexcept {
|
||||
return fd >= 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue