mirror of https://github.com/odrling/Aegisub
Fix compilation on Unix/OSX (fix from Plork)
Originally committed to SVN as r4734.
This commit is contained in:
parent
cbbb917dce
commit
0b4092b602
|
@ -116,7 +116,7 @@ public:
|
||||||
|
|
||||||
template<class T>
|
template<class T>
|
||||||
static void Register(std::string name, bool hide = false, std::vector<std::string> subTypes = std::vector<std::string>()) {
|
static void Register(std::string name, bool hide = false, std::vector<std::string> subTypes = std::vector<std::string>()) {
|
||||||
DoRegister(&Factory0<Base>::create<T>, name, hide, subTypes);
|
DoRegister(&Factory0<Base>::template create<T>, name, hide, subTypes);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -140,6 +140,6 @@ public:
|
||||||
|
|
||||||
template<class T>
|
template<class T>
|
||||||
static void Register(std::string name, bool hide = false, std::vector<std::string> subTypes = std::vector<std::string>()) {
|
static void Register(std::string name, bool hide = false, std::vector<std::string> subTypes = std::vector<std::string>()) {
|
||||||
DoRegister(&Factory1<Base, Arg1>::create<T>, name, hide, subTypes);
|
DoRegister(&Factory1<Base, Arg1>::template create<T>, name, hide, subTypes);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue