mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 20:42:30 +01:00
Fix compile failure on Sun C++ 5.7 in yaSSL code
- Trying to use unctions declared as static being used from another file, change them to be inline
This commit is contained in:
parent
e4676ef60a
commit
ca0b8c552a
1 changed files with 2 additions and 2 deletions
|
@ -142,13 +142,13 @@ void FreeArrayMemory(T* ptr)
|
|||
|
||||
|
||||
|
||||
static void* GetMemory(size_t bytes)
|
||||
inline void* GetMemory(size_t bytes)
|
||||
{
|
||||
return GetArrayMemory<unsigned char>(bytes);
|
||||
}
|
||||
|
||||
|
||||
static void FreeMemory(void* ptr)
|
||||
inline void FreeMemory(void* ptr)
|
||||
{
|
||||
FreeArrayMemory(ptr);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue