summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2024-04-14 11:11:52 +0200
committerSlávek Banko <[email protected]>2024-04-14 11:11:52 +0200
commit616888057d9652da87ae0178fd1807dabaae1840 (patch)
tree9b1db2fbdfa6bd0b16f15499db47802caf982009
parent3219b37007847bfb12000840924ed75f2c4b1400 (diff)
downloadtdevelop-616888057d9652da87ae0178fd1807dabaae1840.tar.gz
tdevelop-616888057d9652da87ae0178fd1807dabaae1840.zip
Fix compatibility with C++17.
Signed-off-by: Slávek Banko <[email protected]>
-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: