From 7a3e380c21f074708d012e3e8b5a8f00fdc4222b Mon Sep 17 00:00:00 2001 From: Marius Bancila Date: Thu, 23 Dec 2021 01:05:33 +0200 Subject: [PATCH] specified size --- include/uuid.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/uuid.h b/include/uuid.h index b8c4a49..7d4a5b0 100644 --- a/include/uuid.h +++ b/include/uuid.h @@ -272,16 +272,16 @@ namespace uuids }; template - constexpr CharT empty_guid[] = "00000000-0000-0000-0000-000000000000"; + constexpr CharT empty_guid[37] = "00000000-0000-0000-0000-000000000000"; template <> - constexpr wchar_t empty_guid[] = L"00000000-0000-0000-0000-000000000000"; + constexpr wchar_t empty_guid[37] = L"00000000-0000-0000-0000-000000000000"; template - constexpr CharT guid_encoder[] = "0123456789abcdef"; + constexpr CharT guid_encoder[17] = "0123456789abcdef"; template <> - constexpr wchar_t guid_encoder[] = L"0123456789abcdef"; + constexpr wchar_t guid_encoder[17] = L"0123456789abcdef"; } // --------------------------------------------------------------------------------------------------------------------------