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

@@ -119,7 +119,7 @@ namespace boost
}
#else
unordered_set(boost::unordered_detail::move_from<unordered_set<Value, Hash, Pred, Alloc> > other)
: base(other.base, boost::unordered_detail::move_tag())
: base(other.source.base, boost::unordered_detail::move_tag())
{
}
@@ -476,7 +476,7 @@ namespace boost
}
#else
unordered_multiset(boost::unordered_detail::move_from<unordered_multiset<Value, Hash, Pred, Alloc> > other)
: base(other.base, boost::unordered_detail::move_tag())
: base(other.source.base, boost::unordered_detail::move_tag())
{
}