mirror of
https://github.com/mpusz/mp-units.git
synced 2025-08-01 03:14:29 +02:00
fix: MSVC complained about the usage of deprecated member
This commit is contained in:
@@ -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
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user