diff options
Diffstat (limited to 'boost/intrusive/derivation_value_traits.hpp')
-rw-r--r-- | boost/intrusive/derivation_value_traits.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/boost/intrusive/derivation_value_traits.hpp b/boost/intrusive/derivation_value_traits.hpp index 06991983f3..223b983632 100644 --- a/boost/intrusive/derivation_value_traits.hpp +++ b/boost/intrusive/derivation_value_traits.hpp @@ -65,7 +65,7 @@ struct derivation_value_traits static const_pointer to_value_ptr(const const_node_ptr &n) { - return pointer_traits<pointer>::pointer_to(static_cast<const_reference>(*n)); + return pointer_traits<const_pointer>::pointer_to(static_cast<const_reference>(*n)); } }; |