mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Mark some overridden functions with override keyword
This commit is contained in:
parent
64b78f6fb9
commit
ec7ec2aa42
8 changed files with 24 additions and 24 deletions
|
@ -811,11 +811,11 @@ void begin_RE()
|
|||
BEGIN(RE);
|
||||
}
|
||||
|
||||
class LocalNameFinder : public zeek::detail::TraversalCallback {
|
||||
class LocalNameFinder final : public zeek::detail::TraversalCallback {
|
||||
public:
|
||||
LocalNameFinder() = default;
|
||||
|
||||
virtual zeek::detail::TraversalCode PreExpr(const zeek::detail::Expr* expr)
|
||||
zeek::detail::TraversalCode PreExpr(const zeek::detail::Expr* expr) override
|
||||
{
|
||||
if ( expr->Tag() != EXPR_NAME )
|
||||
return zeek::detail::TC_CONTINUE;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue