Change to use "inline" instead of "extern __declspec(selectany)".

This commit is contained in:
Jeff Genovy 2019-03-12 18:03:05 -07:00
commit 47e47837d1

View file

@ -51,7 +51,7 @@ namespace UnitConversionManager
// null checks.
//
// unitId, name, abbreviation, isConversionSource, isConversionTarget, isWhimsical
extern __declspec(selectany) const Unit EMPTY_UNIT = Unit{ -1, L"", L"", true, true, false };
inline const Unit EMPTY_UNIT = Unit{ -1, L"", L"", true, true, false };
struct Category
{