Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/stevu236/chiaki
Browse files Browse the repository at this point in the history
  • Loading branch information
safalin1 committed Aug 25, 2019
2 parents 2738d46 + a30235a commit 723280d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Chiaki/Singleton.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ namespace Chiaki
/// Represents a singleton instance of a class
/// </summary>
/// <typeparam name="T">Type of the singleton</typeparam>
public class Singleton<T> where T : new()
public abstract class Singleton<T> where T : new()
{
private static readonly Lazy<T> _instance = new Lazy<T>(() => new T());

Expand All @@ -15,4 +15,4 @@ namespace Chiaki
/// </summary>
public static T Instance => _instance.Value;
}
}
}

0 comments on commit 723280d

Please sign in to comment.