From 3e60b5d6e92ae1a04460da43cb489ea2e83ad835 Mon Sep 17 00:00:00 2001 From: Fabian Ruffy <5960321+fruffy@users.noreply.github.com> Date: Thu, 11 Jul 2024 03:26:34 +0200 Subject: [PATCH] Unbreak tc backend in the mainline (#4794) Signed-off-by: Anton Korobeynikov Co-authored-by: Anton Korobeynikov --- backends/tc/ebpfCodeGen.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backends/tc/ebpfCodeGen.h b/backends/tc/ebpfCodeGen.h index c11256184b1..9d4b47cc93b 100644 --- a/backends/tc/ebpfCodeGen.h +++ b/backends/tc/ebpfCodeGen.h @@ -138,7 +138,7 @@ class EBPFPnaParser : public EBPF::EBPFPsaParser { const P4::TypeMap *typeMap); void emit(EBPF::CodeBuilder *builder) override; void emitRejectState(EBPF::CodeBuilder *) override; - void emitDeclaration(EBPF::CodeBuilder *builder, const IR::Declaration *decl); + void emitDeclaration(EBPF::CodeBuilder *builder, const IR::Declaration *decl) override; DECLARE_TYPEINFO(EBPFPnaParser, EBPF::EBPFPsaParser); }; @@ -189,7 +189,7 @@ class IngressDeparserPNA : public EBPF::EBPFDeparserPSA { bool build() override; void emit(EBPF::CodeBuilder *builder) override; void emitPreDeparser(EBPF::CodeBuilder *builder) override; - void emitDeclaration(EBPF::CodeBuilder *builder, const IR::Declaration *decl); + void emitDeclaration(EBPF::CodeBuilder *builder, const IR::Declaration *decl) override; DECLARE_TYPEINFO(IngressDeparserPNA, EBPF::EBPFDeparserPSA); };