Merge unordered 'move_from' fix from trunk [46410].

[SVN r46413]
This commit is contained in:
Daniel James
2008-06-15 19:21:12 +00:00
parent 5a898f2419
commit c8d0cb88ad
4 changed files with 32 additions and 4 deletions

View File

@@ -122,7 +122,7 @@ namespace boost
}
#else
unordered_map(boost::unordered_detail::move_from<unordered_map<Key, T, Hash, Pred, Alloc> > other)
: base(other.base, boost::unordered_detail::move_tag())
: base(other.source.base, boost::unordered_detail::move_tag())
{
}
@@ -507,7 +507,7 @@ namespace boost
}
#else
unordered_multimap(boost::unordered_detail::move_from<unordered_multimap<Key, T, Hash, Pred, Alloc> > other)
: base(other.base, boost::unordered_detail::move_tag())
: base(other.source.base, boost::unordered_detail::move_tag())
{
}