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

NetworkAsio::createBlockingClient()函数的返回为什么要用std::move? #31

Closed
NoGameNoLife00 opened this issue Dec 29, 2020 · 1 comment

Comments

@NoGameNoLife00
Copy link

tu

std::make_unique本身就返回右值,为什么还要std::move一次,是不是有点多余?

@TendisDev
Copy link
Collaborator

确实是多余了,可以提一个MR修复

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

No branches or pull requests

2 participants