io/FileDescriptor: remove unnecessary operator!=()

The compiler must generate this implicitly from operator==().
This commit is contained in:
Max Kellermann 2024-07-22 16:50:29 +02:00 committed by Max Kellermann
parent ea96b321dc
commit 49ad4e9f3c
1 changed files with 0 additions and 4 deletions

View File

@ -37,10 +37,6 @@ public:
return fd == other.fd; return fd == other.fd;
} }
constexpr bool operator!=(FileDescriptor other) const noexcept {
return !(*this == other);
}
constexpr bool IsDefined() const noexcept { constexpr bool IsDefined() const noexcept {
return fd >= 0; return fd >= 0;
} }