Skip to content

Fix mismatched function type in definition - #1208

Merged
hallfox merged 1 commit into
bloomberg:mainfrom
hallfox:fix-const-int
Mar 20, 2026
Merged

Fix mismatched function type in definition#1208
hallfox merged 1 commit into
bloomberg:mainfrom
hallfox:fix-const-int

Conversation

@hallfox

@hallfox hallfox commented Mar 19, 2026

Copy link
Copy Markdown
Collaborator

This was causing some linker issues on Solaris.

@hallfox
hallfox requested a review from a team as a code owner March 19, 2026 21:21
pniedzielski
pniedzielski previously approved these changes Mar 19, 2026

void AuthenticationContext::onReauthenticateErrorOrTimeout(
int errorCode,
const int errorCode,

@678098 678098 Mar 19, 2026

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Do we need to add const-specification for basic arithmetic type?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I think we should change the declaration in header to remove const

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Not really, this is just matching it with what's in the header file. We can just change the type of this to int as well.

Signed-off-by: Taylor Foxhall <tfoxhall@bloomberg.net>
@hallfox
hallfox merged commit 2410e75 into bloomberg:main Mar 20, 2026
37 of 41 checks passed
@hallfox
hallfox deleted the fix-const-int branch March 20, 2026 19:56
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.

3 participants