specified size
This commit is contained in:
parent
5458877f2c
commit
7a3e380c21
@ -272,16 +272,16 @@ namespace uuids
|
|||||||
};
|
};
|
||||||
|
|
||||||
template <typename CharT>
|
template <typename CharT>
|
||||||
constexpr CharT empty_guid[] = "00000000-0000-0000-0000-000000000000";
|
constexpr CharT empty_guid[37] = "00000000-0000-0000-0000-000000000000";
|
||||||
|
|
||||||
template <>
|
template <>
|
||||||
constexpr wchar_t empty_guid<wchar_t>[] = L"00000000-0000-0000-0000-000000000000";
|
constexpr wchar_t empty_guid<wchar_t>[37] = L"00000000-0000-0000-0000-000000000000";
|
||||||
|
|
||||||
template <typename CharT>
|
template <typename CharT>
|
||||||
constexpr CharT guid_encoder[] = "0123456789abcdef";
|
constexpr CharT guid_encoder[17] = "0123456789abcdef";
|
||||||
|
|
||||||
template <>
|
template <>
|
||||||
constexpr wchar_t guid_encoder<wchar_t>[] = L"0123456789abcdef";
|
constexpr wchar_t guid_encoder<wchar_t>[17] = L"0123456789abcdef";
|
||||||
}
|
}
|
||||||
|
|
||||||
// --------------------------------------------------------------------------------------------------------------------------
|
// --------------------------------------------------------------------------------------------------------------------------
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user