Skip to content

Commit 3a5d1d7

Browse files
authored
Merge pull request #811 from kishikawakatsumi/metrics
Fix compilation failure if PROCESSOR_MEASUREMENTS_ENABLED is enabled.
2 parents c7c539d + 167229e commit 3a5d1d7

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)