From 46fd80ef2d9be3be7ab361fa85fde98f900a39cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sun, 14 Apr 2024 20:58:48 +0200 Subject: Fix compatibility with C++17. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko (cherry picked from commit 0bcb76d981bf8ebd8806d6ae73cdcb77b5f4a124) --- kanagram/src/keduvocdocument.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'kanagram') 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 +class eraseTrans : public function { public: @@ -507,7 +507,7 @@ void KEduVocDocument::setOriginalIdent (const TQString &id) } -class sortByOrg : public binary_function +class sortByOrg : public function { public: @@ -531,7 +531,7 @@ public: class sortByLessonAndOrg_alpha - : public binary_function + : public function { public: @@ -564,7 +564,7 @@ public: class sortByLessonAndOrg_index - : public binary_function + : public function { public: @@ -594,7 +594,7 @@ public: }; -class sortByTrans : public binary_function +class sortByTrans : public function { public: @@ -727,7 +727,7 @@ LeitnerSystem* KEduVocDocument::getLeitnerSystem() } -class resetAll : public unary_function +class resetAll : public function { public: @@ -755,7 +755,7 @@ public: }; -class resetOne : public unary_function +class resetOne : public function { public: -- cgit v1.2.1