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

Hide worker_handle and move it to cxx file #137

Merged
merged 1 commit into from
Sep 15, 2020
Merged

Conversation

greensky00
Copy link
Contributor

  • worker_handle does not need to be exposed.

* `worker_handle` does not need to be exposed.
@szmyd
Copy link
Contributor

szmyd commented Sep 15, 2020

I think worker_handle needs to be a forward declared pointer not a reference for this to work right?

@greensky00
Copy link
Contributor Author

@szmyd Sorry I don't get your point, global_mgr API uses ptr<worker_handle> only so that the forward declaration of struct worker_handle is enough. Isn't it?

@szmyd
Copy link
Contributor

szmyd commented Sep 15, 2020

Oh yes, sorry. I'm not used to seeing a forward declare inside a class definition, I misread it as a member declaration. This looks good.

@greensky00
Copy link
Contributor Author

Ok, I'm merging it, thanks!

@greensky00 greensky00 merged commit 8b92702 into eBay:master Sep 15, 2020
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