Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove forwarding res to is_allocated on unique_resource_data constru…
…ction. It is possible that the resource source will become moved-from after the call to is_allocated, and that moved-from state will then be used to initialize the resource in the resource_holder. To avoid this, don't forward the resource source to is_allocated. Fixes #10.
- Loading branch information