Skip to content
This repository has been archived by the owner on Mar 28, 2022. It is now read-only.

Use borrowed_ptr in ServerBuilder::RegisterService #83

Open
rjhuijsman opened this issue Mar 3, 2022 · 0 comments
Open

Use borrowed_ptr in ServerBuilder::RegisterService #83

rjhuijsman opened this issue Mar 3, 2022 · 0 comments

Comments

@rjhuijsman
Copy link
Contributor

To avoid usage mistakes like that in #81 it would be helpful to have an API that prevents "holding it wrong".

Our current hypothesis is that we could have ServerBuilder::RegisterService take a borrowed_ptr instead of a raw pointer.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant