File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -182,7 +182,7 @@ TOML_ANON_NAMESPACE_START
182
182
return value;
183
183
}
184
184
};
185
- static_assert (std::is_trivial_v <utf8_codepoint>);
185
+ static_assert (std::is_trivially_default_constructible_v<utf8_codepoint> && std::is_trivially_copyable_v <utf8_codepoint>);
186
186
static_assert (std::is_standard_layout_v<utf8_codepoint>);
187
187
188
188
struct TOML_ABSTRACT_INTERFACE utf8_reader_interface
Original file line number Diff line number Diff line change @@ -12750,7 +12750,7 @@ TOML_ANON_NAMESPACE_START
12750
12750
return value;
12751
12751
}
12752
12752
};
12753
- static_assert (std::is_trivial_v <utf8_codepoint>);
12753
+ static_assert (std::is_trivially_default_constructible_v<utf8_codepoint> && std::is_trivially_copyable_v <utf8_codepoint>);
12754
12754
static_assert (std::is_standard_layout_v<utf8_codepoint>);
12755
12755
12756
12756
struct TOML_ABSTRACT_INTERFACE utf8_reader_interface
You can’t perform that action at this time.
0 commit comments