summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2024-04-14 10:56:22 +0200
committerSlávek Banko <[email protected]>2024-04-14 10:56:22 +0200
commit8ec6dcff2244bed7bae7b6a671b88cb72d8cd186 (patch)
treebba41b0697b36029c72553b445bc8ce2f01b3ac6
parentf86d80ff9d5e4a6409db01d5eaee56ba02e1cedb (diff)
downloadtdesdk-8ec6dcff2244bed7bae7b6a671b88cb72d8cd186.tar.gz
tdesdk-8ec6dcff2244bed7bae7b6a671b88cb72d8cd186.zip
Fix compatibility with C++17.
Signed-off-by: Slávek Banko <[email protected]>
-rw-r--r--poxml/antlr/antlr/CharScanner.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/poxml/antlr/antlr/CharScanner.h b/poxml/antlr/antlr/CharScanner.h
index a2537964..82766f1f 100644
--- a/poxml/antlr/antlr/CharScanner.h
+++ b/poxml/antlr/antlr/CharScanner.h
@@ -49,7 +49,7 @@ ANTLR_BEGIN_NAMESPACE(antlr)
class CharScanner;
-class CharScannerLiteralsLess : public ANTLR_USE_NAMESPACE(std)binary_function<ANTLR_USE_NAMESPACE(std)string,ANTLR_USE_NAMESPACE(std)string,bool> {
+class CharScannerLiteralsLess : public ANTLR_USE_NAMESPACE(std)function<bool(ANTLR_USE_NAMESPACE(std)string,ANTLR_USE_NAMESPACE(std)string)> {
private:
const CharScanner* scanner;
public: