summaryrefslogtreecommitdiff
path: root/libs/intrusive/test/stateful_value_traits_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libs/intrusive/test/stateful_value_traits_test.cpp')
-rw-r--r--libs/intrusive/test/stateful_value_traits_test.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/libs/intrusive/test/stateful_value_traits_test.cpp b/libs/intrusive/test/stateful_value_traits_test.cpp
index 2b266ca3fe..3e76eca935 100644
--- a/libs/intrusive/test/stateful_value_traits_test.cpp
+++ b/libs/intrusive/test/stateful_value_traits_test.cpp
@@ -1,6 +1,6 @@
/////////////////////////////////////////////////////////////////////////////
//
-// (C) Copyright Ion Gaztanaga 2007-2009
+// (C) Copyright Ion Gaztanaga 2007-2012
//
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
@@ -57,16 +57,16 @@ struct stateful_value_traits
: values_(values), node_array_(node_array)
{}
- node_ptr to_node_ptr (value_type &value)
+ node_ptr to_node_ptr (value_type &value)
{ return node_array_ + (&value - values_); }
- const_node_ptr to_node_ptr (const value_type &value) const
+ const_node_ptr to_node_ptr (const value_type &value) const
{ return node_array_ + (&value - values_); }
pointer to_value_ptr(node_ptr n)
{ return values_ + (n - node_array_); }
- const_pointer to_value_ptr(const_node_ptr n) const
+ const_pointer to_value_ptr(const_node_ptr n) const
{ return values_ + (n - node_array_); }
pointer values_;