Skip to content

Commit fa3d278

Browse files
author
Matias Villaverde
authored
Prevent the compiler finding the wrong CGFloat (#34)
1 parent 938b2a2 commit fa3d278

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Sources/Prometheus/Utils.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
import Foundation
22

3+
#if os(iOS) || os(watchOS) || os(tvOS)
4+
import CoreGraphics
5+
#endif
6+
37
/// Empty labels class
48
public struct EmptyLabels: MetricLabels {
59
/// Creates empty labels

0 commit comments

Comments
 (0)