diff options
author | Carlo Nucera <carlo.nucera@protonmail.com> | 2020-08-05 15:30:38 -0400 |
---|---|---|
committer | Carlo Nucera <carlo.nucera@protonmail.com> | 2020-08-05 15:30:38 -0400 |
commit | 8241e660bac5583d2924a490e5b32027e9e8e2fc (patch) | |
tree | 839240a56ac0f5f8ac916e5df322df583b0e340e /src/libutil | |
parent | be6e1c645707cd91d160bcfbedb9cd23cf24780d (diff) |
Remove Hash::operator bool ()
Since the hash is not optional anymore
Diffstat (limited to 'src/libutil')
-rw-r--r-- | src/libutil/hash.hh | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/libutil/hash.hh b/src/libutil/hash.hh index 0520c6022..6d6eb70ca 100644 --- a/src/libutil/hash.hh +++ b/src/libutil/hash.hh @@ -59,9 +59,6 @@ private: Hash(std::string_view s, HashType type, bool isSRI); public: - /* Check whether a hash is set. */ - operator bool () const { return (bool) type; } - /* Check whether two hash are equal. */ bool operator == (const Hash & h2) const; |