From 258291df5c763ae2043127477cdee07c3850c967 Mon Sep 17 00:00:00 2001 From: rillk500 Date: Fri, 16 Oct 2020 21:53:06 +0600 Subject: [PATCH] Singleton Design Pattern --- .../ourGame/source/gstatemanager.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lesson#22 - Singleton design pattern/ourGame/source/gstatemanager.d b/lesson#22 - Singleton design pattern/ourGame/source/gstatemanager.d index 68cb6e6..90b2d99 100644 --- a/lesson#22 - Singleton design pattern/ourGame/source/gstatemanager.d +++ b/lesson#22 - Singleton design pattern/ourGame/source/gstatemanager.d @@ -3,7 +3,7 @@ import data; class GStateManager { private static GStateManager instance; - private this() {} + private this() { } static GStateManager getInstance() { if(instance is null) {