forked from jasder/antlr
Explicitly delete copy c-tor and operator for DefaultErrorStrategy.
This class holds a vector of unique_ptr instances and hence cannot be copied.
This commit is contained in:
parent
3b98c1136e
commit
28eb19f52e
|
@ -43,8 +43,11 @@ namespace antlr4 {
|
|||
class ANTLR4CPP_PUBLIC DefaultErrorStrategy : public ANTLRErrorStrategy {
|
||||
public:
|
||||
DefaultErrorStrategy();
|
||||
DefaultErrorStrategy(DefaultErrorStrategy const& other) = delete;
|
||||
virtual ~DefaultErrorStrategy();
|
||||
|
||||
DefaultErrorStrategy& operator = (DefaultErrorStrategy const& other) = delete;
|
||||
|
||||
protected:
|
||||
/**
|
||||
* Indicates whether the error strategy is currently "recovering from an
|
||||
|
|
Loading…
Reference in New Issue