Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix build failed #200

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

fix build failed #200

wants to merge 1 commit into from

Conversation

silenceper
Copy link

No description provided.

Signed-off-by: silenceper <[email protected]>
Copy link

@manojgop manojgop left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This fixes the following error during build. This should be merged.

echo2_config.cc:17:28: error: invalid covariant return type for 'virtual Envoy::Network::FilterFactoryCb Envoy::Server::Configuration::Echo2ConfigFactory::createFilterFactoryFromProto(const google::protobuf::Message&, Envoy::Server::Configuration::FactoryContext&)'
   17 |   Network::FilterFactoryCb createFilterFactoryFromProto(const Protobuf::Message&,
      |                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from echo2_config.cc:6:
external/envoy/envoy/server/filter_config.h:177:3: note: overridden function is 'virtual absl::lts_20240722::StatusOr<std::function<void(Envoy::Network::FilterManager&)> > Envoy::Server::Configuration::NamedNetworkFilterConfigFactory::createFilterFactoryFromProto(const google::protobuf::Message&, Envoy::Server::Configuration::FactoryContext&)'
  177 |   createFilterFactoryFromProto(const Protobuf::Message& config,
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants