Boost logo

Boost-Commit :

From: daniel_james_at_[hidden]
Date: 2008-05-10 09:53:35


Author: danieljames
Date: 2008-05-10 09:53:35 EDT (Sat, 10 May 2008)
New Revision: 45262
URL: http://svn.boost.org/trac/boost/changeset/45262

Log:
The unordered containers are failing to compile on Borland. This is a short in
the dark at fixing that.

Text files modified:
   trunk/boost/unordered_map.hpp | 4 ++--
   trunk/boost/unordered_set.hpp | 4 ++--
   2 files changed, 4 insertions(+), 4 deletions(-)

Modified: trunk/boost/unordered_map.hpp
==============================================================================
--- trunk/boost/unordered_map.hpp (original)
+++ trunk/boost/unordered_map.hpp 2008-05-10 09:53:35 EDT (Sat, 10 May 2008)
@@ -121,7 +121,7 @@
             return *this;
         }
 #else
- unordered_map(boost::unordered_detail::move_from<unordered_map> other)
+ unordered_map(boost::unordered_detail::move_from<unordered_map<Key, T, Hash, Pred, Alloc> > other)
             : base(other.base, boost::unordered_detail::move_tag())
         {
         }
@@ -504,7 +504,7 @@
             return *this;
         }
 #else
- unordered_multimap(boost::unordered_detail::move_from<unordered_multimap> other)
+ unordered_multimap(boost::unordered_detail::move_from<unordered_multimap<Key, T, Hash, Pred, Alloc> > other)
             : base(other.base, boost::unordered_detail::move_tag())
         {
         }

Modified: trunk/boost/unordered_set.hpp
==============================================================================
--- trunk/boost/unordered_set.hpp (original)
+++ trunk/boost/unordered_set.hpp 2008-05-10 09:53:35 EDT (Sat, 10 May 2008)
@@ -118,7 +118,7 @@
             return *this;
         }
 #else
- unordered_set(boost::unordered_detail::move_from<unordered_set> other)
+ unordered_set(boost::unordered_detail::move_from<unordered_set<Value, Hash, Pred, Alloc> > other)
             : base(other.base, boost::unordered_detail::move_tag())
         {
         }
@@ -473,7 +473,7 @@
             return *this;
         }
 #else
- unordered_multiset(boost::unordered_detail::move_from<unordered_multiset> other)
+ unordered_multiset(boost::unordered_detail::move_from<unordered_multiset<Value, Hash, Pred, Alloc> > other)
             : base(other.base, boost::unordered_detail::move_tag())
         {
         }


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk