Skip to content

Commit

Permalink
fix build failed
Browse files Browse the repository at this point in the history
Signed-off-by: silenceper <[email protected]>
  • Loading branch information
silenceper committed Nov 30, 2024
1 parent db1072e commit aa8667f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions echo2_config.cc
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ namespace Configuration {
*/
class Echo2ConfigFactory : public NamedNetworkFilterConfigFactory {
public:
Network::FilterFactoryCb createFilterFactoryFromProto(const Protobuf::Message&,
FactoryContext&) override {
absl::StatusOr<Network::FilterFactoryCb>
createFilterFactoryFromProto(const Protobuf::Message&, FactoryContext&) override {
return [](Network::FilterManager& filter_manager) -> void {
filter_manager.addReadFilter(Network::ReadFilterSharedPtr{new Filter::Echo2()});
};
Expand Down

0 comments on commit aa8667f

Please sign in to comment.