From aa8667f156596f6b8721a6586aa131e4135e7510 Mon Sep 17 00:00:00 2001 From: silenceper Date: Sat, 30 Nov 2024 16:50:32 +0800 Subject: [PATCH] fix build failed Signed-off-by: silenceper --- echo2_config.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/echo2_config.cc b/echo2_config.cc index 8e2d75ec9..bf9491075 100644 --- a/echo2_config.cc +++ b/echo2_config.cc @@ -14,8 +14,8 @@ namespace Configuration { */ class Echo2ConfigFactory : public NamedNetworkFilterConfigFactory { public: - Network::FilterFactoryCb createFilterFactoryFromProto(const Protobuf::Message&, - FactoryContext&) override { + absl::StatusOr + createFilterFactoryFromProto(const Protobuf::Message&, FactoryContext&) override { return [](Network::FilterManager& filter_manager) -> void { filter_manager.addReadFilter(Network::ReadFilterSharedPtr{new Filter::Echo2()}); };