Trailing whitespaces

[SVN r78516]
This commit is contained in:
Ion Gaztañaga
2012-05-20 09:54:48 +00:00
parent b8d71929b8
commit 19b14d339a
55 changed files with 385 additions and 385 deletions

View File

@@ -17,7 +17,7 @@
//This node is the legacy type we can't modify and we want to insert in
//intrusive list and slist containers using only two pointers, since
//we know the object will never be at the same time in both lists.
//we know the object will never be at the same time in both lists.
struct legacy_value
{
legacy_value *prev_;
@@ -39,14 +39,14 @@ struct legacy_node_traits
typedef legacy_value * node_ptr;
typedef const legacy_value * const_node_ptr;
static node *get_next(const node *n) { return n->next_; }
static void set_next(node *n, node *next) { n->next_ = next; }
static node *get_previous(const node *n) { return n->prev_; }
static void set_previous(node *n, node *prev) { n->prev_ = prev; }
static node *get_next(const node *n) { return n->next_; }
static void set_next(node *n, node *next) { n->next_ = next; }
static node *get_previous(const node *n) { return n->prev_; }
static void set_previous(node *n, node *prev) { n->prev_ = prev; }
};
//This ValueTraits will configure list and slist. In this case,
//legacy_node_traits::node is the same as the
//legacy_node_traits::node is the same as the
//legacy_value_traits::value_type so to_node_ptr/to_value_ptr
//functions are trivial.
struct legacy_value_traits