diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2024-04-14 11:11:52 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2024-04-14 11:11:52 +0200 |
commit | 616888057d9652da87ae0178fd1807dabaae1840 (patch) | |
tree | 9b1db2fbdfa6bd0b16f15499db47802caf982009 | |
parent | 3219b37007847bfb12000840924ed75f2c4b1400 (diff) | |
download | tdevelop-616888057d9652da87ae0178fd1807dabaae1840.tar.gz tdevelop-616888057d9652da87ae0178fd1807dabaae1840.zip |
Fix compatibility with C++17.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
-rw-r--r-- | lib/antlr/antlr/CharScanner.h | 2 |
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: |