diff options
Diffstat (limited to 'c/common.cpp')
-rw-r--r-- | c/common.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/c/common.cpp b/c/common.cpp index 7a1438d..d109081 100644 --- a/c/common.cpp +++ b/c/common.cpp @@ -21,12 +21,12 @@ Win32Error::~Win32Error() HeapFree(GetProcessHeap(), 0, m_szMsg); } -const char *Win32Error::what(void) const noexcept +const char* Win32Error::what(void) const noexcept { return m_szMsg; } -Library::Library(const TCHAR *tszLibrary) +Library::Library(const TCHAR* const tszLibrary) { m_hModule = LoadLibrary(tszLibrary); if (!m_hModule) @@ -38,7 +38,7 @@ Library::~Library() FreeLibrary(m_hModule); } -FARPROC Library::GetProcAddress(const char *szProc) +FARPROC Library::GetProcAddress(const char* const szProc) { return ::GetProcAddress(m_hModule, szProc); } |