Skip to content

remove const from connect_options_builder 'move' constructor #555

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

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

gferenc95
Copy link

Hello,

The current constructor doesn't move connect_options because it's a const rvalue reference, which causes it to fall back to the copy constructor of connect_options even if std::move is used.

@fpagliughi
Copy link
Contributor

🤦‍♂️ Of course.

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