2
0
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:
Oliver Kowalke
2015-10-20 10:09:57 +02:00
parent 11419967cd
commit ee2fc59ca1

View File

@@ -128,7 +128,7 @@ public:
virtual ~shared_state() noexcept {
if ( ready_) {
//reinterpret_cast< R const* >( storage_)->~R();
reinterpret_cast< R const* >( storage_)->~R();
}
}