aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/e/memoised_hashes.hh
diff options
context:
space:
mode:
authorAvatar David Leverton <levertond@googlemail.com> 2011-10-06 22:29:24 +0100
committerAvatar David Leverton <levertond@googlemail.com> 2011-10-14 23:04:28 +0100
commit38afd6f9261696766d9bd304bd2e8712b5890f2a (patch)
tree7e168f6f5c02c63d88877f7fac85e64e2744c470 /paludis/repositories/e/memoised_hashes.hh
parent2ff049ddef190325fac1a1933c71a5884a64478f (diff)
downloadpaludis-38afd6f9261696766d9bd304bd2e8712b5890f2a.tar.gz
paludis-38afd6f9261696766d9bd304bd2e8712b5890f2a.tar.xz
Make MemoisedHashes use DigestRegistry
Diffstat (limited to 'paludis/repositories/e/memoised_hashes.hh')
-rw-r--r--paludis/repositories/e/memoised_hashes.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/paludis/repositories/e/memoised_hashes.hh b/paludis/repositories/e/memoised_hashes.hh
index 939d96f39..3b5911752 100644
--- a/paludis/repositories/e/memoised_hashes.hh
+++ b/paludis/repositories/e/memoised_hashes.hh
@@ -24,6 +24,7 @@
#include <paludis/util/singleton.hh>
#include <paludis/util/fs_path-fwd.hh>
#include <paludis/util/safe_ifstream-fwd.hh>
+#include <string>
namespace paludis
{
@@ -37,8 +38,7 @@ namespace paludis
public:
Pimp<MemoisedHashes> _imp;
- template <typename H_>
- const std::string get(const FSPath & file, SafeIFStream & stream) const;
+ const std::string get(const std::string & algo, const FSPath & file, SafeIFStream & stream) const;
private:
MemoisedHashes();