Make Uuid's default constructor implicit (#6243)
Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
This commit is contained in:
Родитель
8f6ea6b9b8
Коммит
1af1bc5831
|
@ -37,7 +37,7 @@ namespace Azure { namespace Core {
|
||||||
*/
|
*/
|
||||||
// Nil UUID, per RFC9562, consists of all zeros:
|
// Nil UUID, per RFC9562, consists of all zeros:
|
||||||
// https://www.rfc-editor.org/rfc/rfc9562.html#name-nil-uuid
|
// https://www.rfc-editor.org/rfc/rfc9562.html#name-nil-uuid
|
||||||
constexpr explicit Uuid() : m_uuid{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0} {}
|
constexpr Uuid() : m_uuid{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0} {}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Gets Uuid as a string.
|
* @brief Gets Uuid as a string.
|
||||||
|
|
Загрузка…
Ссылка в новой задаче