From 1dafd986ed415426299af60046b0767ca33c7afb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ion=20Gazta=C3=B1aga?= Date: Tue, 17 Oct 2006 05:09:40 +0000 Subject: [PATCH] Corrected bug in assignment operator [SVN r35646] --- include/boost/interprocess/containers/set.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/interprocess/containers/set.hpp b/include/boost/interprocess/containers/set.hpp index 142f42f..0a4ebb7 100644 --- a/include/boost/interprocess/containers/set.hpp +++ b/include/boost/interprocess/containers/set.hpp @@ -120,7 +120,7 @@ class set : m_tree(move(x.get().m_tree)) {} set& operator=(const set& x) - { m_tree = m_tree; return *this; } + { m_tree = x.m_tree; return *this; } set& operator=(const detail::moved_object >& x) { m_tree.swap(x.get().m_tree); return *this; }