Fix in an error in the unordered containers' emulated move constructors. These

aren't actually used, so I could probalby just remove 'move_from' for now (it's
used in the full move library).


[SVN r46410]
This commit is contained in:
Daniel James
2008-06-15 17:03:37 +00:00
parent 885574e1bf
commit 659a014976
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())
{
}