forked from lix-project/lix
Migrate HashFormat to scoped enumeration (enum struct)
This commit is contained in:
parent
e026f3e1ae
commit
231b0fca6d
|
@ -26,7 +26,7 @@ extern const std::string base32Chars;
|
||||||
/**
|
/**
|
||||||
* @brief Enumeration representing the hash formats.
|
* @brief Enumeration representing the hash formats.
|
||||||
*/
|
*/
|
||||||
enum HashFormat : int {
|
enum struct HashFormat : int {
|
||||||
/// @brief Base 64 encoding.
|
/// @brief Base 64 encoding.
|
||||||
/// @see [IETF RFC 4648, section 4](https://datatracker.ietf.org/doc/html/rfc4648#section-4).
|
/// @see [IETF RFC 4648, section 4](https://datatracker.ietf.org/doc/html/rfc4648#section-4).
|
||||||
Base64,
|
Base64,
|
||||||
|
|
Loading…
Reference in a new issue