aboutsummaryrefslogtreecommitdiff
path: root/paludis/util/hashes.hh
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-07-22 10:11:47 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-07-22 18:54:57 +0100
commit7a8a792ae878e2b432e0c67a813022117faa4e60 (patch)
treed9eac8e45ccc206bc6920d14e25f5613b54be02f /paludis/util/hashes.hh
parent34700872057c99c57416612fbc264c48cfd38f9d (diff)
downloadpaludis-7a8a792ae878e2b432e0c67a813022117faa4e60.tar.gz
paludis-7a8a792ae878e2b432e0c67a813022117faa4e60.tar.xz
No more tr1:: and tr1/
Diffstat (limited to 'paludis/util/hashes.hh')
-rw-r--r--paludis/util/hashes.hh10
1 files changed, 5 insertions, 5 deletions
diff --git a/paludis/util/hashes.hh b/paludis/util/hashes.hh
index 0d382618d..5b1b0bfbe 100644
--- a/paludis/util/hashes.hh
+++ b/paludis/util/hashes.hh
@@ -26,8 +26,8 @@
#include <cstddef>
#include <utility>
#include <string>
-#include <tr1/type_traits>
-#include <tr1/memory>
+#include <type_traits>
+#include <memory>
namespace paludis
{
@@ -58,7 +58,7 @@ namespace paludis
public:
std::size_t operator() (const T_ & t) const
{
- return hash_internals::DefaultHash<T_, std::tr1::is_integral<T_>::value>::hash(t);
+ return hash_internals::DefaultHash<T_, std::is_integral<T_>::value>::hash(t);
}
};
@@ -120,9 +120,9 @@ namespace paludis
};
template <typename T_>
- struct Hash<std::tr1::shared_ptr<T_> >
+ struct Hash<std::shared_ptr<T_> >
{
- std::size_t operator() (const std::tr1::shared_ptr<const T_> & t) const
+ std::size_t operator() (const std::shared_ptr<const T_> & t) const
{
return Hash<T_>()(*t);
}