Skip to content

Commit ab932db

Browse files
committed
[Concurrency] Remove an unnecessary 'const' from a non-static data member.
'const' breaks compilation on newer compilers.
1 parent c0fd27f commit ab932db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/swift/ABI/Task.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ class AsyncTask : public HeapObject, public Job {
271271
/// Mask used for the low status bits in a wait queue item.
272272
static const uintptr_t statusMask = 0x03;
273273

274-
const uintptr_t storage;
274+
uintptr_t storage;
275275

276276
Status getStatus() const {
277277
return static_cast<Status>(storage & statusMask);

0 commit comments

Comments
 (0)