Skip to content

Conversation

@BewareMyPower
Copy link
Contributor

No description provided.

@BewareMyPower BewareMyPower self-assigned this Jan 14, 2026
@BewareMyPower BewareMyPower added this to the 4.1.0 milestone Jan 14, 2026
@BewareMyPower BewareMyPower requested a review from Copilot January 14, 2026 07:39
@BewareMyPower BewareMyPower marked this pull request as draft January 14, 2026 08:19
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

return promise.getFuture();
}

// Register consumer so that we can handle other incomming commands (e.g. ACTIVE_CONSUMER_CHANGE) after
Copy link

Copilot AI Jan 14, 2026

Choose a reason for hiding this comment

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

Corrected spelling of 'incomming' to 'incoming'

Suggested change
// Register consumer so that we can handle other incomming commands (e.g. ACTIVE_CONSUMER_CHANGE) after
// Register consumer so that we can handle other incoming commands (e.g. ACTIVE_CONSUMER_CHANGE) after

Copilot uses AI. Check for mistakes.
Comment on lines +44 to +48
Synchronized& operator=(T&& value) {
std::lock_guard<std::mutex> lock(mutex_);
value_ = value;
return *this;
}
Copy link

Copilot AI Jan 14, 2026

Choose a reason for hiding this comment

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

The move assignment operator should use std::move(value) instead of just value to properly move the rvalue reference. Currently, it's performing a copy instead of a move, which defeats the purpose of having a move assignment operator.

Copilot uses AI. Check for mistakes.
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.

1 participant