call destructor for values in channel

- in context of #209
This commit is contained in:
Oliver Kowalke
2019-08-20 09:53:44 +02:00
parent 2b16d5445a
commit 37b5f770fa
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -583,6 +583,7 @@ public:
}
iterator & operator++() {
reinterpret_cast< value_type * >( std::addressof( storage_) )->~value_type();
increment_();
return * this;
}
@@ -631,6 +631,7 @@ public:
}
iterator & operator++() {
reinterpret_cast< value_type * >( std::addressof( storage_) )->~value_type();
increment_();
return * this;
}