summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2024-04-14 10:56:22 +0200
committerSlávek Banko <slavek.banko@axis.cz>2024-04-14 11:01:29 +0200
commit9c42eeca7dd388fd6703925ef029b94c223c2e90 (patch)
tree146df855068079132ea3d4ce5c4dee015d4024dc
parentc119718f524a23ac77a7d61509121f9d8632ab33 (diff)
downloadtdesdk-9c42eeca7dd388fd6703925ef029b94c223c2e90.tar.gz
tdesdk-9c42eeca7dd388fd6703925ef029b94c223c2e90.zip
Fix compatibility with C++17.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 8ec6dcff2244bed7bae7b6a671b88cb72d8cd186)
-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: