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

[luci] Introduce the parent class method to luci::Pass #14595

Open
wants to merge 1 commit into
base: release/1.28.1
Choose a base branch
from

Conversation

tomdol
Copy link
Contributor

@tomdol tomdol commented Jan 28, 2025

This directive fixes a build break caused by a compiler error emitted when compiling with -Werror=overloaded-virtual flag switched on. The error is about the logo::Pass::run method being hidden by luci::Pass::run.

This is a backport of #14594 to the release branch.

ONE-DCO-1.0-Signed-off-by: Tomasz Dolbniak t.dolbniak@partner.samsung.com

This directive fixes a build break caused by a compiler error emitted when
compiling with -Werror=overloaded-virtual flag switched on. The error is about
the logo::Pass::run method being hidden by luci::Pass::run.

This is a backport of Samsung#14594
to the release branch.

ONE-DCO-1.0-Signed-off-by: Tomasz Dolbniak <t.dolbniak@partner.samsung.com>
@@ -28,6 +28,8 @@ namespace luci
class Pass : public logo::Pass
{
public:
// This directive prevents emitting a compiler erro triggered by -Werror=overloaded-virtual
using logo::Pass::run;
Copy link
Contributor

Choose a reason for hiding this comment

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

same reason as #14594 (comment)

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