diff --git a/include/st_tree_detail.h b/include/st_tree_detail.h index ed2d1f2..391fe44 100644 --- a/include/st_tree_detail.h +++ b/include/st_tree_detail.h @@ -109,8 +109,8 @@ struct max_maintainer { protected: typedef typename Alloc::template rebind::other unsigned_allocator; - Unsigned _max; vector _hist; + Unsigned _max; }; diff --git a/include/st_tree_nodes.h b/include/st_tree_nodes.h index d8c4256..d97b948 100644 --- a/include/st_tree_nodes.h +++ b/include/st_tree_nodes.h @@ -177,10 +177,10 @@ struct node_base { protected: tree_type* _tree; size_type _size; - max_maintainer _depth; node_type* _parent; data_type _data; cs_type _children; + max_maintainer _depth; bool _default_constructed() const { return (NULL == _parent) && (NULL == _tree);