From 0b4092b602af9cf60bdb9350672e1318092a0639 Mon Sep 17 00:00:00 2001 From: Amar Takhar Date: Thu, 12 Aug 2010 10:13:29 +0000 Subject: [PATCH] Fix compilation on Unix/OSX (fix from Plork) Originally committed to SVN as r4734. --- aegisub/src/factory_manager.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aegisub/src/factory_manager.h b/aegisub/src/factory_manager.h index 94d3e945c..6ae491717 100644 --- a/aegisub/src/factory_manager.h +++ b/aegisub/src/factory_manager.h @@ -116,7 +116,7 @@ public: template static void Register(std::string name, bool hide = false, std::vector subTypes = std::vector()) { - DoRegister(&Factory0::create, name, hide, subTypes); + DoRegister(&Factory0::template create, name, hide, subTypes); } }; @@ -140,6 +140,6 @@ public: template static void Register(std::string name, bool hide = false, std::vector subTypes = std::vector()) { - DoRegister(&Factory1::create, name, hide, subTypes); + DoRegister(&Factory1::template create, name, hide, subTypes); } };