Skip to content

Commit

Permalink
Make shared() public. (#347)
Browse files Browse the repository at this point in the history
  • Loading branch information
bsneed authored May 15, 2024
1 parent c4f8f12 commit 944c3c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Segment/Analytics.swift
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public class Analytics {
In the case of a dead instance, an assert will be thrown when in DEBUG builds to
assist developers in knowning that `shared()` is being called too soon.
*/
static func shared() -> Analytics {
public static func shared() -> Analytics {
if let a = firstInstance {
if a.isDead == false {
return a
Expand Down

0 comments on commit 944c3c4

Please sign in to comment.