mirror of
https://github.com/Microsoft/calculator.git
synced 2025-08-21 22:03:11 -07:00
Change to use "inline" instead of "extern __declspec(selectany)".
This commit is contained in:
parent
8983a1cb46
commit
47e47837d1
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue