summaryrefslogtreecommitdiff
path: root/shared/dll_loader.h
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2014-04-18 17:12:46 +0200
committerDaniel Wilhelm <daniel@wili.li>2014-04-18 17:12:46 +0200
commitb338e29fd3eaf700f8c8360aa0310048ba941d54 (patch)
tree122f8ef3790d12cd10275ef7453a9e8053322d78 /shared/dll_loader.h
parent3.18 (diff)
downloadFreeFileSync-b338e29fd3eaf700f8c8360aa0310048ba941d54.tar.gz
FreeFileSync-b338e29fd3eaf700f8c8360aa0310048ba941d54.tar.bz2
FreeFileSync-b338e29fd3eaf700f8c8360aa0310048ba941d54.zip
3.19
Diffstat (limited to 'shared/dll_loader.h')
-rw-r--r--shared/dll_loader.h3
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));
bgstack15