@@ -444,15 +444,15 @@ namespace dotenv
444
444
};
445
445
446
446
447
- const container parser::SP
447
+ inline const container parser::SP
448
448
{
449
449
container::CHAR_MODE::INCLUDE,
450
450
SP_C,
451
451
TB_C
452
452
};
453
453
454
454
455
- const container parser::UNQUOTED_KEY_CHAR
455
+ inline const container parser::UNQUOTED_KEY_CHAR
456
456
{
457
457
container::CHAR_MODE::EXCLUDE,
458
458
CS_C,
@@ -466,7 +466,7 @@ namespace dotenv
466
466
};
467
467
468
468
469
- const container parser::UNQUOTED_VALUE_CHAR
469
+ inline const container parser::UNQUOTED_VALUE_CHAR
470
470
{
471
471
container::CHAR_MODE::EXCLUDE,
472
472
CS_C,
@@ -479,14 +479,14 @@ namespace dotenv
479
479
};
480
480
481
481
482
- const container parser::UNQUOTED_COMMENT_CHAR
482
+ inline const container parser::UNQUOTED_COMMENT_CHAR
483
483
{
484
484
container::CHAR_MODE::EXCLUDE,
485
485
NL_C,
486
486
CR_C
487
487
};
488
488
489
- const std::vector<std::pair<char , char >> parser::ESCAPED_EQUIVALENCES
489
+ inline const std::vector<std::pair<char , char >> parser::ESCAPED_EQUIVALENCES
490
490
{
491
491
{ ' ?' , ' ?' },
492
492
{ ' \' ' , ' \' ' },
@@ -570,9 +570,9 @@ namespace dotenv
570
570
};
571
571
572
572
573
- const std::string dotenv::env_filename = " .env" ;
574
- dotenv dotenv::_instance;
573
+ inline const std::string dotenv::env_filename = " .env" ;
574
+ inline dotenv dotenv::_instance;
575
575
576
576
577
- dotenv& env = dotenv::instance().load_dotenv();
577
+ inline dotenv& env = dotenv::instance().load_dotenv();
578
578
}
0 commit comments