Fix C++17 compilation warning

This commit is contained in:
Bruno Herbelin
2022-12-04 13:17:51 +01:00
parent 36bc4944f9
commit e08b6ade9e
5 changed files with 9 additions and 9 deletions

View File

@@ -149,7 +149,7 @@ ConnectionInfo Connection::info(int index)
}
struct hasName: public std::unary_function<ConnectionInfo, bool>
struct hasName
{
inline bool operator()(const ConnectionInfo &elem) const {
return (elem.name.compare(_a) == 0);