1.1 --- a/sourcehook/generate/FastDelegate.hxx Sat Apr 30 18:45:41 2005 +0000
1.2 +++ b/sourcehook/generate/FastDelegate.hxx Sat Apr 30 19:09:51 2005 +0000
1.3 @@ -981,6 +981,11 @@
1.4 return FastDelegate@NUM<@SELARGS, FASTDLGT_RETTYPE>(x, func);
1.5 }
1.6
1.7 +template <@CLASSARGS, class RetType>
1.8 +FastDelegate@NUM<@SELARGS, FASTDLGT_RETTYPE> MakeDelegate(RetType (*func)(@FUNCARGS)) {
1.9 + return FastDelegate@NUM<@SELARGS, FASTDLGT_RETTYPE>(func);
1.10 +}
1.11 +
1.12 @ENDVAR
1.13
1.14 // clean up after ourselves...