Ticket #7749: multi_index_container.hpp_patch

File multi_index_container.hpp_patch, 525 bytes (added by Gaurav Gupta <g.gupta@…>, 10 years ago)

Proposed patch for the bug raised

Line 
1diff -Naur a/boost/multi_index_container.hpp b/boost/multi_index_container.hpp
2--- a/boost/multi_index_container.hpp 2011-11-27 19:22:14.000000000 +0530
3+++ b/boost/multi_index_container.hpp 2012-11-27 16:02:34.000000000 +0530
4@@ -270,7 +270,7 @@
5 }
6
7 multi_index_container<Value,IndexSpecifierList,Allocator>& operator=(
8- multi_index_container<Value,IndexSpecifierList,Allocator> x)
9+ multi_index_container<Value,IndexSpecifierList,Allocator>& x)
10 {
11 BOOST_MULTI_INDEX_CHECK_INVARIANT;
12 this->swap(x);