Skip to content

Commit a532697

Browse files
committed
Fix a bad forward declaration.
CastConsumptionKind today has a uint8_t as an underlying type. I just think we got lucky and this patch stream exposed the problem.
1 parent 47ffa74 commit a532697

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/swift/SIL/DynamicCasts.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class SILBuilder;
3232
class SILLocation;
3333
class SILModule;
3434
class SILType;
35-
enum class CastConsumptionKind : unsigned char;
35+
enum class CastConsumptionKind : uint8_t;
3636
struct SILDynamicCastInst;
3737

3838
enum class DynamicCastFeasibility {

0 commit comments

Comments
 (0)