Skip to content

Commit cbc3a23

Browse files
committed
fix variant
1 parent b3fee62 commit cbc3a23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/mir/variant.d

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ struct Variant(Types...)
3232
private void[Largest!Types.sizeof] payload = void;
3333
private uint type; // 0 for unininit value, index = type - 1
3434
private enum hasDestructor = anySatisfy!(hasElaborateDestructor, Types);
35-
pure nothrow @nogc:
35+
3636
static if (hasDestructor)
3737
~this()
3838
{

0 commit comments

Comments
 (0)