mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-11-19 10:34:25 +03:00
parser: use 'override' keyword in subclasses
This commit is contained in:
committed by
Matthew Barr
parent
46ad39f253
commit
4c53bd4641
@@ -44,7 +44,7 @@ namespace ue2 {
|
||||
* an unsupported component. */
|
||||
class UnsupportedVisitor : public DefaultConstComponentVisitor {
|
||||
public:
|
||||
~UnsupportedVisitor();
|
||||
~UnsupportedVisitor() override;
|
||||
void pre(const ComponentAssertion &) override {
|
||||
throw ParseError("Zero-width assertions are not supported.");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user