diff options
Diffstat (limited to 'shared/dll_loader.h')
-rw-r--r-- | shared/dll_loader.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/shared/dll_loader.h b/shared/dll_loader.h index 6dedc06e..3efb0d96 100644 --- a/shared/dll_loader.h +++ b/shared/dll_loader.h @@ -51,8 +51,7 @@ std::string getResourceStream(const std::wstring& libraryName, size_t resourceId //---------------Inline Implementation--------------------------------------------------- FARPROC loadSymbol(const std::wstring& libraryName, const std::string& functionName); -template <typename FunctionType> -inline +template <typename FunctionType> inline FunctionType getDllFun(const std::wstring& libraryName, const std::string& functionName) { return reinterpret_cast<FunctionType>(loadSymbol(libraryName, functionName)); |