Skip to content

Commit

Permalink
Revert "Utility: make AbstractHash destructor protected."
Browse files Browse the repository at this point in the history
With this the class is no longer "a literal type" and Clang complains
loudly when compiling the has-a-chance-of-being-constexpr MurmurHash2
class.

This reverts commit 9f53351.
  • Loading branch information
mosra committed Dec 22, 2017
1 parent 6c9b2ef commit 51a1b32
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/Corrade/Utility/AbstractHash.h
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,6 @@ template<std::size_t digestSize> class AbstractHash {
*/
DigestSize = digestSize
};

protected:
~AbstractHash() {}
};

/** @debugoperator{Corrade::Utility::HashDigest} */
Expand Down

0 comments on commit 51a1b32

Please sign in to comment.