Skip to content

Commit 8a5ad62

Browse files
committed
Tweak for older Swift toolchains.
1 parent dd61f19 commit 8a5ad62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/protoc-gen-swift/MessageStorageDecision.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ fileprivate struct AnalyseResult {
8585

8686
/// The message should use storage.
8787
static let useStorage =
88-
Self(usesStorage: true, costAsField: FieldCost.singleMessageFieldUsingStorage)
88+
AnalyseResult(usesStorage: true, costAsField: FieldCost.singleMessageFieldUsingStorage)
8989
}
9090

9191
/// Cache for the `analyse(descriptor:)` results to avoid doing them multiple

0 commit comments

Comments
 (0)