summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2024-04-14 11:11:52 +0200
committerSlávek Banko <slavek.banko@axis.cz>2024-04-14 11:18:37 +0200
commit0d1f19403e40833599a3220509603d783669fcce (patch)
tree8b867e32262940eda3ef3c8fe5b930c08c63109a
parentcd372fc60ef78408f8960e22bcf5d9601d351752 (diff)
downloadtdevelop-0d1f19403e40833599a3220509603d783669fcce.tar.gz
tdevelop-0d1f19403e40833599a3220509603d783669fcce.zip
Fix compatibility with C++17.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 616888057d9652da87ae0178fd1807dabaae1840)
-rw-r--r--lib/antlr/antlr/CharScanner.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/antlr/antlr/CharScanner.h b/lib/antlr/antlr/CharScanner.h
index 9ad6fc7b..e553d64d 100644
--- a/lib/antlr/antlr/CharScanner.h
+++ b/lib/antlr/antlr/CharScanner.h
@@ -66,7 +66,7 @@ ANTLR_C_USING(strcasecmp)
/** Functor for the literals map
*/
-class ANTLR_API CharScannerLiteralsLess : public ANTLR_USE_NAMESPACE(std)binary_function<ANTLR_USE_NAMESPACE(std)string,ANTLR_USE_NAMESPACE(std)string,bool> {
+class ANTLR_API CharScannerLiteralsLess : public ANTLR_USE_NAMESPACE(std)function<bool(ANTLR_USE_NAMESPACE(std)string,ANTLR_USE_NAMESPACE(std)string)> {
private:
const CharScanner* scanner;
public: