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 C++03 incompatibility from local struct in template parameter #504

Merged
merged 1 commit into from
Nov 7, 2024

Conversation

hallfox
Copy link
Collaborator

@hallfox hallfox commented Nov 7, 2024

It is apparently against C++03 rules to use locally declared structs in template parameters because their linkage is incomplete. This change moves the local predicate to the anonymous namespace to fix the linkage issue.

@hallfox hallfox requested a review from a team as a code owner November 7, 2024 19:32
Copy link

@bmq-oss-ci bmq-oss-ci bot left a comment

Choose a reason for hiding this comment

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

Build 361 of commit f1b715f has completed with FAILURE

Copy link
Contributor

@chrisbeard chrisbeard left a comment

Choose a reason for hiding this comment

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

lgtm

@hallfox hallfox merged commit 09e56fc into bloomberg:main Nov 7, 2024
31 checks passed
@hallfox hallfox deleted the port-matcher-fix branch November 7, 2024 22:13
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