aboutsummaryrefslogtreecommitdiff
path: root/paludis/util/hashes.hh
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2008-11-11 22:31:10 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2008-11-12 17:09:47 +0000
commit0507e963d7ed9300fd561fd9c24fe870bfac61a2 (patch)
treefc57eea1fa6ef7f5ca1eb5236c0c3c08b60627a2 /paludis/util/hashes.hh
parent634aa07ea0e8fa854308f81db2f72af1fca907bd (diff)
downloadpaludis-0507e963d7ed9300fd561fd9c24fe870bfac61a2.tar.gz
paludis-0507e963d7ed9300fd561fd9c24fe870bfac61a2.tar.xz
Add metadata.xml support.
Diffstat (limited to 'paludis/util/hashes.hh')
-rw-r--r--paludis/util/hashes.hh8
1 files changed, 8 insertions, 0 deletions
diff --git a/paludis/util/hashes.hh b/paludis/util/hashes.hh
index 6b29fded0..22910225e 100644
--- a/paludis/util/hashes.hh
+++ b/paludis/util/hashes.hh
@@ -22,8 +22,10 @@
#include <paludis/util/attributes.hh>
#include <paludis/util/validated-fwd.hh>
+#include <paludis/util/fs_entry-fwd.hh>
#include <cstddef>
#include <utility>
+#include <string>
#include <tr1/type_traits>
#include <tr1/memory>
@@ -66,6 +68,12 @@ namespace paludis
std::size_t operator() (const std::string &) const PALUDIS_ATTRIBUTE((warn_unused_result));
};
+ template <>
+ struct PALUDIS_VISIBLE Hash<FSEntry>
+ {
+ std::size_t operator() (const FSEntry &) const PALUDIS_ATTRIBUTE((warn_unused_result));
+ };
+
template <typename T_, typename U_>
struct Hash<std::pair<T_, U_> >
{