From ab843eb5877bc52e74a845a2c34343b95b6b1297 Mon Sep 17 00:00:00 2001 From: Daniel James Date: Thu, 12 Nov 2009 21:36:27 +0000 Subject: [PATCH] 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] --- include/boost/unordered/detail/fwd.hpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/boost/unordered/detail/fwd.hpp b/include/boost/unordered/detail/fwd.hpp index 5b904344..53ef556d 100644 --- a/include/boost/unordered/detail/fwd.hpp +++ b/include/boost/unordered/detail/fwd.hpp @@ -179,6 +179,8 @@ namespace boost { namespace unordered_detail { value_type& value() { return *(ValueType*) this; } + private: + value_base& operator=(value_base const&); }; // Node @@ -195,6 +197,8 @@ namespace boost { namespace unordered_detail { static value_type& get_value(node_ptr p) { return static_cast(*p).value(); } + private: + hash_node& operator=(hash_node const&); }; // Iterator Base