We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 38f4ec1 commit 3249935Copy full SHA for 3249935
1 file changed
include/stdexec/__detail/__variant.hpp
@@ -83,7 +83,7 @@ namespace stdexec {
83
STDEXEC_ATTRIBUTE(host, device) void __destroy() noexcept {
84
auto __index = std::exchange(__index_, __variant_npos);
85
if (__variant_npos != __index) {
86
- ((_Is == __index ? static_cast<_Ts *>(__get_ptr())->~_Ts() : void(0)), ...);
+ ((_Is == __index ? (void) static_cast<_Ts *>(__get_ptr())->~_Ts() : void(0)), ...);
87
}
88
89
0 commit comments