Update of /cvsroot/boost/boost/boost/interprocess/containers
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv15763

Modified Files:
        set.hpp 
Log Message:
Corrected bug in assignment operator

Index: set.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/interprocess/containers/set.hpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- set.hpp     15 Oct 2006 13:11:06 -0000      1.2
+++ set.hpp     17 Oct 2006 05:09:40 -0000      1.3
@@ -120,7 +120,7 @@
       : m_tree(move(x.get().m_tree)) {}
 
    set<T,Pred,Alloc>& operator=(const set<T, Pred, Alloc>& x)
-      {  m_tree = m_tree;   return *this;  }
+      {  m_tree = x.m_tree;   return *this;  }
 
    set<T,Pred,Alloc>& operator=(const detail::moved_object<set<T, Pred, Alloc> 
>& x)
       {  m_tree.swap(x.get().m_tree);   return *this;  }


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs

Reply via email to