From e766f0c30a33dedd2d49783780f79f994a063ac4 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Tue, 10 Jul 2018 16:07:42 +0300 Subject: Drop unused sha256(istream) function --- bpkg/checksum.hxx | 5 ----- 1 file changed, 5 deletions(-) (limited to 'bpkg/checksum.hxx') diff --git a/bpkg/checksum.hxx b/bpkg/checksum.hxx index 77a5d18..87380a0 100644 --- a/bpkg/checksum.hxx +++ b/bpkg/checksum.hxx @@ -19,11 +19,6 @@ namespace bpkg inline string sha256 (const char* buf, size_t n) {return butl::sha256 (buf, n).string ();} - // The same but for a stream (if ifdstream, open in binary mode). - // - string - sha256 (istream&); - // The same but for a file. Issue diagnostics and throw failed if anything // goes wrong. // -- cgit v1.1