summaryrefslogtreecommitdiffstats
path: root/kanagram
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2024-04-14 20:58:48 +0200
committerSlávek Banko <slavek.banko@axis.cz>2024-04-15 02:59:14 +0200
commit0bcb76d981bf8ebd8806d6ae73cdcb77b5f4a124 (patch)
treeb9e9a52e0d1b2476eea815b83af0f121b604f27f /kanagram
parent7720a8f7b3eba8cd055a0b66f43a92d30a3d586a (diff)
downloadtdeedu-0bcb76d981bf8ebd8806d6ae73cdcb77b5f4a124.tar.gz
tdeedu-0bcb76d981bf8ebd8806d6ae73cdcb77b5f4a124.zip
Fix compatibility with C++17.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'kanagram')
-rw-r--r--kanagram/src/keduvocdocument.cpp14
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: