mirror of
https://github.com/boostorg/fiber.git
synced 2026-02-18 01:52:24 +00:00
call destructor for stored values in shared_state
This commit is contained in:
@@ -128,7 +128,7 @@ public:
|
||||
|
||||
virtual ~shared_state() noexcept {
|
||||
if ( ready_) {
|
||||
//reinterpret_cast< R const* >( storage_)->~R();
|
||||
reinterpret_cast< R const* >( storage_)->~R();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user