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:
Daniel James
2009-11-12 21:36:27 +00:00
parent 4438b8e017
commit ab843eb587

View File

@ -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