diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2024-04-12 13:26:23 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2024-04-12 15:00:05 +0200 |
commit | ab9f8038deeb50995f94b21035368ed66b8c128c (patch) | |
tree | c543db0df09f68ee586a9a3422a981b898a4d40e /kab/addressbook.cpp | |
parent | b31821dd2489a41c04047bb71c25b61fccb02607 (diff) | |
download | tdelibs-ab9f8038deeb50995f94b21035368ed66b8c128c.tar.gz tdelibs-ab9f8038deeb50995f94b21035368ed66b8c128c.zip |
Fix compatibility with C++17.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit ab599e34e847d8db1560b8c5809e02be62060c58)
Diffstat (limited to 'kab/addressbook.cpp')
-rw-r--r-- | kab/addressbook.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kab/addressbook.cpp b/kab/addressbook.cpp index 1a6655266..0cf8b9307 100644 --- a/kab/addressbook.cpp +++ b/kab/addressbook.cpp @@ -100,7 +100,7 @@ const int AddressBook::Entry::NoOfFields =sizeof(AddressBook::Entry::Fields)/sizeof(AddressBook::Entry::Fields[0]); struct QStringLess - : public binary_function<const TQString&, const TQString&, bool> + : public std::function<bool(const TQString&, const TQString&)> { /** The function operator, inline. */ bool operator()(const TQString& x, const TQString& y) const |