Corrected bug that ignores the destructor y list nodes

[SVN r36236]
This commit is contained in:
Ion Gaztañaga
2006-12-02 00:00:50 +00:00
parent 2022f79159
commit 41f121bd69
2 changed files with 2 additions and 2 deletions

View File

@@ -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
};

View File

@@ -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
};