From 33abb694280321a84aa7dc9806de284afb8ca226 Mon Sep 17 00:00:00 2001 From: Marcos Griselli <14804033+marcosgriselli@users.noreply.github.com> Date: Sat, 9 Mar 2024 11:35:42 -0800 Subject: [PATCH] Remove @_implementationOnly annotations (#225) 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 933269d..72a3322 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:)