summaryrefslogtreecommitdiffstats
path: root/src/entry.h
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2024-04-14 11:53:43 +0200
committerSlávek Banko <slavek.banko@axis.cz>2024-04-14 11:53:43 +0200
commitd4cf702259ef8dd4aad95c9c7d15d318712a59fe (patch)
tree11c501db8e2f8e3eda6bbdda5513237dcb50327f /src/entry.h
parent9232c032ada7a23126772c90eba8cfcf7c2b01a0 (diff)
downloadtellico-d4cf702259ef8dd4aad95c9c7d15d318712a59fe.tar.gz
tellico-d4cf702259ef8dd4aad95c9c7d15d318712a59fe.zip
Fix compatibility with C++17.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'src/entry.h')
-rw-r--r--src/entry.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/entry.h b/src/entry.h
index a08f8fc..2293bd0 100644
--- a/src/entry.h
+++ b/src/entry.h
@@ -239,7 +239,7 @@ private:
PtrVector<EntryGroup> m_groups;
};
-class EntryCmp : public std::binary_function<EntryPtr, EntryPtr, bool> {
+class EntryCmp : public std::function<bool(EntryPtr, EntryPtr)> {
public:
EntryCmp(const TQString& field) : m_field(field) {}