Fix compatibility with C++17.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/46/head
Slávek Banko 8 months ago
parent f86d80ff9d
commit 8ec6dcff22
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