diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2024-04-14 20:58:48 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2024-04-15 03:00:46 +0200 |
commit | 46fd80ef2d9be3be7ab361fa85fde98f900a39cf (patch) | |
tree | b241ab811764ac819f31422e400a01074c7504c5 /kanagram | |
parent | 2b50eee093583106e736f40d2e4780c661138645 (diff) | |
download | tdeedu-46fd80ef2d9be3be7ab361fa85fde98f900a39cf.tar.gz tdeedu-46fd80ef2d9be3be7ab361fa85fde98f900a39cf.zip |
Fix compatibility with C++17.r14.1.2
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 0bcb76d981bf8ebd8806d6ae73cdcb77b5f4a124)
Diffstat (limited to 'kanagram')
-rw-r--r-- | kanagram/src/keduvocdocument.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kanagram/src/keduvocdocument.cpp b/kanagram/src/keduvocdocument.cpp index 47053372..a89072d8 100644 --- a/kanagram/src/keduvocdocument.cpp +++ b/kanagram/src/keduvocdocument.cpp @@ -463,7 +463,7 @@ void KEduVocDocument::setSizeHint (int idx, const int width) } -class eraseTrans : public unary_function<KEduVocExpression, void> +class eraseTrans : public function<void(KEduVocExpression)> { public: @@ -507,7 +507,7 @@ void KEduVocDocument::setOriginalIdent (const TQString &id) } -class sortByOrg : public binary_function<KEduVocExpression, KEduVocExpression, bool> +class sortByOrg : public function<bool(KEduVocExpression, KEduVocExpression)> { public: @@ -531,7 +531,7 @@ public: class sortByLessonAndOrg_alpha - : public binary_function<KEduVocExpression, KEduVocExpression, bool> + : public function<bool(KEduVocExpression, KEduVocExpression)> { public: @@ -564,7 +564,7 @@ public: class sortByLessonAndOrg_index - : public binary_function<KEduVocExpression, KEduVocExpression, bool> + : public function<bool(KEduVocExpression, KEduVocExpression)> { public: @@ -594,7 +594,7 @@ public: }; -class sortByTrans : public binary_function<KEduVocExpression, KEduVocExpression, bool> +class sortByTrans : public function<bool(KEduVocExpression, KEduVocExpression)> { public: @@ -727,7 +727,7 @@ LeitnerSystem* KEduVocDocument::getLeitnerSystem() } -class resetAll : public unary_function<KEduVocExpression, void> +class resetAll : public function<void(KEduVocExpression)> { public: @@ -755,7 +755,7 @@ public: }; -class resetOne : public unary_function<KEduVocExpression, void> +class resetOne : public function<void(KEduVocExpression)> { public: |