parser: use 'override' keyword in subclasses

This commit is contained in:
Justin Viiret
2015-11-03 16:11:56 +11:00
committed by Matthew Barr
parent 46ad39f253
commit 4c53bd4641
4 changed files with 4 additions and 4 deletions

View File

@@ -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.");
}