diff options
author | François Andriot <francois.andriot@free.fr> | 2021-05-11 09:15:26 +0200 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2021-05-11 18:59:18 +0900 |
commit | 4e20f46e57e8032e8b6c457adfee5f5039ae7789 (patch) | |
tree | 414868b6fdba85de6ac3c9d6147a604af79724ac | |
parent | dddae369e55ced4ab0128e7838b56a035d279962 (diff) | |
download | tdeedu-4e20f46e57e8032e8b6c457adfee5f5039ae7789.tar.gz tdeedu-4e20f46e57e8032e8b6c457adfee5f5039ae7789.zip |
Fix FTBFS on Fedora 34
error: static assertion failed: comparison object must be invocable as const
Signed-off-by: François Andriot <francois.andriot@free.fr>
(cherry picked from commit 0cb84fb9036ce7bc7c757a3971fdb0c619d0c011)
-rw-r--r-- | kiten/learn.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kiten/learn.cpp b/kiten/learn.cpp index 94e77b9a..a1b685d4 100644 --- a/kiten/learn.cpp +++ b/kiten/learn.cpp @@ -762,7 +762,7 @@ void Learn::qupdate() struct Learn::scoreCompare { - bool operator()(const TQListViewItem* v1, const TQListViewItem* v2) + bool operator()(const TQListViewItem* v1, const TQListViewItem* v2) const { return v1->text(4).toInt() < v2->text(4).toInt(); } |