Skip to content

Commit

Permalink
hash-util: drop compatibility with boost-1.53
Browse files Browse the repository at this point in the history
We use boost-1.69 in our EPEL-7 builds.

Related: #98
Closes: #168
  • Loading branch information
kdudka committed May 3, 2024
1 parent b18601b commit 4ae879f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/lib/hash-util.hh
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,7 @@ std::string hexHashStr(const TSrc &src)
eng.process_bytes(src.data(), src.size());

// export the hash as an array of unsigned int
// FIXME: std::remove_reference is needed on el7 (boost-1.53)
using TDst = typename TEng::digest_type;
typename std::remove_reference<TDst>::type dst;
typename TEng::digest_type dst;
eng.get_digest(dst);

// convert the hash to a vector of unsigned int
Expand Down

0 comments on commit 4ae879f

Please sign in to comment.