Skip to content

Commit 944c3c4

Browse files
authored
Make shared() public. (#347)
1 parent c4f8f12 commit 944c3c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/Segment/Analytics.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public class Analytics {
3939
In the case of a dead instance, an assert will be thrown when in DEBUG builds to
4040
assist developers in knowning that `shared()` is being called too soon.
4141
*/
42-
static func shared() -> Analytics {
42+
public static func shared() -> Analytics {
4343
if let a = firstInstance {
4444
if a.isDead == false {
4545
return a

0 commit comments

Comments
 (0)