Merge pull request #54 from sketchylizard/sketchylizard/FixInlineVariables
Declare variables as inline
This commit is contained in:
commit
1da3294a8b
@ -272,16 +272,16 @@ namespace uuids
|
|||||||
};
|
};
|
||||||
|
|
||||||
template <typename CharT>
|
template <typename CharT>
|
||||||
constexpr CharT empty_guid[37] = "00000000-0000-0000-0000-000000000000";
|
inline constexpr CharT empty_guid[37] = "00000000-0000-0000-0000-000000000000";
|
||||||
|
|
||||||
template <>
|
template <>
|
||||||
constexpr wchar_t empty_guid<wchar_t>[37] = L"00000000-0000-0000-0000-000000000000";
|
inline constexpr wchar_t empty_guid<wchar_t>[37] = L"00000000-0000-0000-0000-000000000000";
|
||||||
|
|
||||||
template <typename CharT>
|
template <typename CharT>
|
||||||
constexpr CharT guid_encoder[17] = "0123456789abcdef";
|
inline constexpr CharT guid_encoder[17] = "0123456789abcdef";
|
||||||
|
|
||||||
template <>
|
template <>
|
||||||
constexpr wchar_t guid_encoder<wchar_t>[17] = L"0123456789abcdef";
|
inline constexpr wchar_t guid_encoder<wchar_t>[17] = L"0123456789abcdef";
|
||||||
}
|
}
|
||||||
|
|
||||||
// --------------------------------------------------------------------------------------------------------------------------
|
// --------------------------------------------------------------------------------------------------------------------------
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user