Skip to content

Commit bc30ecc

Browse files
authored
Merge pull request #77166 from tshortli/copy-constructor-warning
AST: Fix a `-Wdeprecated-copy-with-user-provided-copy` warning
2 parents 2d2ec6c + 748dde5 commit bc30ecc

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

include/swift/AST/AvailabilityContext.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,6 @@ class AvailabilityContext {
4545
AvailabilityContext(const Storage *info) : Info(info) { assert(info); };
4646

4747
public:
48-
AvailabilityContext(const AvailabilityContext &other) : Info(other.Info){};
49-
5048
/// Retrieves the default `AvailabilityContext`, which is maximally available.
5149
/// The platform availability range will be set to the deployment target (or
5250
/// minimum inlining target when applicable).

0 commit comments

Comments
 (0)