fix: MSVC complained about the usage of deprecated member

This commit is contained in:
Mateusz Pusz
2025-02-15 14:29:24 +01:00
parent e625843d93
commit a6c8130f88
2 changed files with 2 additions and 2 deletions

View File

@@ -213,7 +213,7 @@ template<std::intmax_t Num, std::intmax_t Den = 1, Dimension D>
struct dimension_symbol_formatting {
#if MP_UNITS_COMP_CLANG
#if MP_UNITS_COMP_CLANG || MP_UNITS_COMP_MSVC
// TODO prevents the deprecated usage in implicit copy constructor warning
character_set char_set = character_set::default_character_set;
#else

View File

@@ -54,7 +54,7 @@ enum class unit_symbol_separator : std::int8_t {
};
struct unit_symbol_formatting {
#if MP_UNITS_COMP_CLANG
#if MP_UNITS_COMP_CLANG || MP_UNITS_COMP_MSVC
// TODO prevents the deprecated usage in implicit copy constructor warning
character_set char_set = character_set::default_character_set;
#else