merged, seems fine

This commit is contained in:
Me
2022-08-07 01:10:05 +02:00
12 changed files with 82 additions and 35 deletions

View File

@@ -139,3 +139,8 @@ void replace_all_substr(std::string &str, const std::string &ori_substr, const s
}
}
bool operator==(const listen_socket& lhs, int fd)
{ return lhs.fd == fd; }
bool operator==(int fd, const listen_socket& rhs)
{ return fd == rhs.fd; }