Skip to content

Commit 0fb8510

Browse files
committed
Replace @_fixed_layout with @Frozen in private/OSLog
This one slipped through when the main search and replace pass happened, becausee it's not in public.
1 parent 68d25a2 commit 0fb8510

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

stdlib/private/OSLog/OSLogMessage.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ internal var logBitsPerByte: Int { return 3 }
6060
/// when you pass a string interpolation to the log APIs.
6161
/// Extend this type with more `appendInterpolation` overloads to enable
6262
/// interpolating additional types.
63-
@_fixed_layout
63+
@frozen
6464
public struct OSLogInterpolation : StringInterpolationProtocol {
6565
/// A format string constructed from the given string interpolation to be
6666
/// passed to the os_log ABI.
@@ -360,7 +360,7 @@ extension String {
360360
}
361361
}
362362

363-
@_fixed_layout
363+
@frozen
364364
public struct OSLogMessage :
365365
ExpressibleByStringInterpolation, ExpressibleByStringLiteral
366366
{
@@ -402,7 +402,7 @@ public struct OSLogMessage :
402402
/// are captured within closures and stored in an array. The closures accept an
403403
/// instance of `OSLogByteBufferBuilder`, and when invoked, serialize the
404404
/// argument using the passed `OSLogByteBufferBuilder` instance.
405-
@_fixed_layout
405+
@frozen
406406
@usableFromInline
407407
internal struct OSLogArguments {
408408
/// An array of closures that captures arguments of possibly different types.

0 commit comments

Comments
 (0)