Skip to content

Commit 03f7dba

Browse files
committed
sumtype: make has!T.checkType helper private
1 parent 4e51fdc commit 03f7dba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

std/sumtype.d

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2667,7 +2667,7 @@ template has(T)
26672667
}
26682668

26692669
// Helper to avoid redundant template instantiations
2670-
bool checkType(Value)(ref Value value)
2670+
private bool checkType(Value)(ref Value value)
26712671
{
26722672
return is(Value == T);
26732673
}

0 commit comments

Comments
 (0)