Make Uuid's default constructor implicit (#6243)

Co-authored-by: Anton Kolesnyk <antkmsft@users.noreply.github.com>
This commit is contained in:
Anton Kolesnyk 2024-11-19 16:54:45 -08:00 committed by GitHub
parent 8f6ea6b9b8
commit 1af1bc5831
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -37,7 +37,7 @@ namespace Azure { namespace Core {
*/
// Nil UUID, per RFC9562, consists of all zeros:
// 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.