From 74bf578bda4c9adcc70ce4cda7d4617a9b95267c Mon Sep 17 00:00:00 2001 From: Max Horn Date: Sat, 1 Jan 2005 19:19:06 +0000 Subject: Changed the singleton code to allow for custom object factories; this allowed me to change OSystem to use the singleton base class, too svn-id: r16404 --- gui/newgui.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gui') diff --git a/gui/newgui.h b/gui/newgui.h index 46cf9de657..e8c0eae556 100644 --- a/gui/newgui.h +++ b/gui/newgui.h @@ -56,7 +56,7 @@ typedef Common::FixedStack DialogStack; class NewGui : public Common::Singleton { typedef Common::String String; friend class Dialog; - friend class Common::Singleton; + friend SingletonBaseType *makeInstance<>(); NewGui(); public: -- cgit v1.2.3