Skip to content

Commit 359c653

Browse files
lczllxCopilot
andauthored
Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent 99fc785 commit 359c653

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

book/src/cpp11/16-generalized-unions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ public:
141141
_Variant_storage<_Rest...> _Tail;
142142
};
143143

144-
_CONSTEXPR20 ~_Variant_storage_() noexcept {
144+
_CONSTEXPR20 ~_Variant_storage_() {
145145
// 联合体不知道哪个成员活跃, 析构由外层 variant 控制
146146
}
147147
// ...

0 commit comments

Comments
 (0)