Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r57617 - trunk/boost/unordered/detail
From: daniel_james_at_[hidden]
Date: 2009-11-12 16:36:28


Author: danieljames
Date: 2009-11-12 16:36:27 EST (Thu, 12 Nov 2009)
New Revision: 57617
URL: http://svn.boost.org/trac/boost/changeset/57617

Log:
Fix a warning on Visual C++ 7.1. Although, I don't think I'm going to be warning free on the compiler.
Text files modified:
   trunk/boost/unordered/detail/fwd.hpp | 4 ++++
   1 files changed, 4 insertions(+), 0 deletions(-)

Modified: trunk/boost/unordered/detail/fwd.hpp
==============================================================================
--- trunk/boost/unordered/detail/fwd.hpp (original)
+++ trunk/boost/unordered/detail/fwd.hpp 2009-11-12 16:36:27 EST (Thu, 12 Nov 2009)
@@ -179,6 +179,8 @@
         value_type& value() {
             return *(ValueType*) this;
         }
+ private:
+ value_base& operator=(value_base const&);
     };
 
     // Node
@@ -195,6 +197,8 @@
         static value_type& get_value(node_ptr p) {
             return static_cast<hash_node&>(*p).value();
         }
+ private:
+ hash_node& operator=(hash_node const&);
     };
 
     // Iterator Base


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk