Migrate HashFormat to scoped enumeration (enum struct)

This commit is contained in:
Yueh-Shun Li 2023-10-13 18:48:36 +08:00
parent e026f3e1ae
commit 231b0fca6d

View file

@ -26,7 +26,7 @@ extern const std::string base32Chars;
/**
* @brief Enumeration representing the hash formats.
*/
enum HashFormat : int {
enum struct HashFormat : int {
/// @brief Base 64 encoding.
/// @see [IETF RFC 4648, section 4](https://datatracker.ietf.org/doc/html/rfc4648#section-4).
Base64,