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 13:26:23 +0200 |
commit | ab599e34e847d8db1560b8c5809e02be62060c58 (patch) | |
tree | f18347323fd29127e5ab54fb96a65d7d6909bd30 /kab/qconfigDB.h | |
parent | 7bab42fc4caf386fb53e463cee7807242e7d4f28 (diff) | |
download | tdelibs-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/qconfigDB.h')
-rw-r--r-- | kab/qconfigDB.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/kab/qconfigDB.h b/kab/qconfigDB.h index 94a211527..f74e5886c 100644 --- a/kab/qconfigDB.h +++ b/kab/qconfigDB.h @@ -19,6 +19,7 @@ namespace std { } using namespace std; +#include <functional> #include <list> #include <map> #include <tqwidget.h> @@ -43,7 +44,7 @@ class TQTextStream; * it is called with. */ struct QCStringLess - : public binary_function<const TQCString&, const TQCString&, bool> + : public std::function<bool(const TQCString&, const TQCString&)> { /** * The function operator, inline. |