mirror of
https://github.com/boostorg/scope.git
synced 2026-01-25 18:52:09 +00:00
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 https://github.com/Lastique/scope/issues/10.