Ticket #8473: container.patch
File container.patch, 1.1 KB (added by , 10 years ago) |
---|
-
boost/container/detail/utilities.hpp
1055 1055 ::memcpy(short_ptr, stora_ptr, sizeof_storage); 1056 1056 large_ptr += sizeof_storage; 1057 1057 short_ptr += sizeof_storage; 1058 BOOST_FALLTHROUGH; 1058 1059 case 3: 1059 1060 ::memcpy(stora_ptr, large_ptr, sizeof_storage); 1060 1061 ::memcpy(large_ptr, short_ptr, sizeof_storage); 1061 1062 ::memcpy(short_ptr, stora_ptr, sizeof_storage); 1062 1063 large_ptr += sizeof_storage; 1063 1064 short_ptr += sizeof_storage; 1065 BOOST_FALLTHROUGH; 1064 1066 case 2: 1065 1067 ::memcpy(stora_ptr, large_ptr, sizeof_storage); 1066 1068 ::memcpy(large_ptr, short_ptr, sizeof_storage); 1067 1069 ::memcpy(short_ptr, stora_ptr, sizeof_storage); 1068 1070 large_ptr += sizeof_storage; 1069 1071 short_ptr += sizeof_storage; 1072 BOOST_FALLTHROUGH; 1070 1073 case 1: 1071 1074 ::memcpy(stora_ptr, large_ptr, sizeof_storage); 1072 1075 ::memcpy(large_ptr, short_ptr, sizeof_storage);