Skip to content

[Hotfix] Copy assignment operator reference to local object error fix#109

Merged
ddbaptiste merged 1 commit intomainfrom
hotfix/copy-assignment-operator
Aug 8, 2025
Merged

[Hotfix] Copy assignment operator reference to local object error fix#109
ddbaptiste merged 1 commit intomainfrom
hotfix/copy-assignment-operator

Conversation

@ddbaptiste
Copy link
Copy Markdown
Member

I had to remove the const modifier from _logger_name to make this work, since we can't use an initializer list for the copy assignment. Apparently, it's not worth the agony associated with trying to get this working while maintaining the constant qualifier here.

@ddbaptiste ddbaptiste requested a review from MJC598 August 8, 2025 20:07
@ddbaptiste ddbaptiste self-assigned this Aug 8, 2025
@ddbaptiste ddbaptiste added the bug Something isn't working label Aug 8, 2025
Copy link
Copy Markdown
Contributor

@MJC598 MJC598 left a comment

Choose a reason for hiding this comment

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

Ugh, thanks C++ for being annoying... Approved

@ddbaptiste ddbaptiste merged commit a325b1b into main Aug 8, 2025
4 checks passed
@ddbaptiste ddbaptiste deleted the hotfix/copy-assignment-operator branch August 8, 2025 20:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants