mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
add missing inline keyword, thanks to Eamon.
This commit is contained in:
@@ -97,7 +97,7 @@ inline void* ei_handmade_aligned_realloc(void* ptr, size_t size)
|
||||
}
|
||||
|
||||
#if EIGEN_HAS_MM_MALLOC
|
||||
void* ei_mm_realloc(void *ptr, size_t size, size_t old_size)
|
||||
inline void* ei_mm_realloc(void *ptr, size_t size, size_t old_size)
|
||||
{
|
||||
// 0. Check if size==0 and act according to the standard.
|
||||
if (ptr!=0 && size==0)
|
||||
|
||||
Reference in New Issue
Block a user