forked from boostorg/unordered
Fix a warning on Visual C++ 7.1. Although, I don't think I'm going to be warning free on the compiler.
[SVN r57617]
This commit is contained in:
@ -179,6 +179,8 @@ namespace boost { namespace unordered_detail {
|
|||||||
value_type& value() {
|
value_type& value() {
|
||||||
return *(ValueType*) this;
|
return *(ValueType*) this;
|
||||||
}
|
}
|
||||||
|
private:
|
||||||
|
value_base& operator=(value_base const&);
|
||||||
};
|
};
|
||||||
|
|
||||||
// Node
|
// Node
|
||||||
@ -195,6 +197,8 @@ namespace boost { namespace unordered_detail {
|
|||||||
static value_type& get_value(node_ptr p) {
|
static value_type& get_value(node_ptr p) {
|
||||||
return static_cast<hash_node&>(*p).value();
|
return static_cast<hash_node&>(*p).value();
|
||||||
}
|
}
|
||||||
|
private:
|
||||||
|
hash_node& operator=(hash_node const&);
|
||||||
};
|
};
|
||||||
|
|
||||||
// Iterator Base
|
// Iterator Base
|
||||||
|
Reference in New Issue
Block a user