summaryrefslogtreecommitdiffstats
path: root/kab/addressbook.cpp
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2024-04-12 13:26:23 +0200
committerSlávek Banko <slavek.banko@axis.cz>2024-04-12 13:26:23 +0200
commitab599e34e847d8db1560b8c5809e02be62060c58 (patch)
treef18347323fd29127e5ab54fb96a65d7d6909bd30 /kab/addressbook.cpp
parent7bab42fc4caf386fb53e463cee7807242e7d4f28 (diff)
downloadtdelibs-ab599e34e847d8db1560b8c5809e02be62060c58.tar.gz
tdelibs-ab599e34e847d8db1560b8c5809e02be62060c58.zip
Fix compatibility with C++17.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'kab/addressbook.cpp')
-rw-r--r--kab/addressbook.cpp2
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