Fix compatibility with C++17.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 8ec6dcff22)
r14.1.x
Slávek Banko 7 months ago
parent c119718f52
commit 9c42eeca7d
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -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:

Loading…
Cancel
Save