Skip to content

Commit 167229e

Browse files
Fix compilation failure if PROCESSOR_MEASUREMENTS_ENABLED macro is enabled.
1 parent e1611c5 commit 167229e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/_StringProcessing/Executor.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ extension Executor {
212212
extension Processor {
213213
fileprivate mutating func run() throws -> Input.Index? {
214214
#if PROCESSOR_MEASUREMENTS_ENABLED
215-
defer { if cpu.metrics.shouldMeasureMetrics { cpu.printMetrics() } }
215+
defer { if metrics.shouldMeasureMetrics { printMetrics() } }
216216
#endif
217217
if self.state == .fail {
218218
if let e = failureReason {

0 commit comments

Comments
 (0)