mirror of
https://github.com/boostorg/interprocess.git
synced 2026-01-19 04:12:13 +00:00
Corrected bug that ignores the destructor y list nodes
[SVN r36236]
This commit is contained in:
@@ -278,7 +278,7 @@ struct interprocess_list_alloc
|
||||
|
||||
enum {
|
||||
node_has_trivial_destructor =
|
||||
boost::has_trivial_destructor<NodePtr>::value |
|
||||
boost::has_trivial_destructor<NodePtr>::value &&
|
||||
boost::has_trivial_destructor<T>::value
|
||||
};
|
||||
|
||||
|
||||
@@ -312,7 +312,7 @@ struct interprocess_slist_alloc/*<T, A, true>*/
|
||||
|
||||
enum {
|
||||
node_has_trivial_destructor =
|
||||
boost::has_trivial_destructor<NodePtr>::value |
|
||||
boost::has_trivial_destructor<NodePtr>::value &&
|
||||
boost::has_trivial_destructor<T>::value
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user