From 4167290eb13745a65781050ea40ec432d9cd870e Mon Sep 17 00:00:00 2001 From: Marcos Griselli Date: Thu, 29 Feb 2024 01:12:40 -0800 Subject: [PATCH] Remove @_implementationOnly annotations Signed-off-by: Marcos Griselli --- Sources/Algorithms/RandomSample.swift | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Sources/Algorithms/RandomSample.swift b/Sources/Algorithms/RandomSample.swift index 933269d0..72a33223 100644 --- a/Sources/Algorithms/RandomSample.swift +++ b/Sources/Algorithms/RandomSample.swift @@ -10,8 +10,14 @@ //===----------------------------------------------------------------------===// // For log(_:) and root(_:_:) +#if swift(>=5.11) +internal import RealModule +#elseif swift(>=5.10) +import RealModule +#else @_implementationOnly import RealModule +#endif //===----------------------------------------------------------------------===// // randomStableSample(count:)