Fix some duplicate inline warnings.
This commit is contained in:
@@ -234,7 +234,7 @@ namespace snmalloc
|
|||||||
FastFreeLists() : small_fast_free_lists() {}
|
FastFreeLists() : small_fast_free_lists() {}
|
||||||
};
|
};
|
||||||
|
|
||||||
ALWAYSINLINE inline void* no_replacement(void*)
|
SNMALLOC_FAST_PATH void* no_replacement(void*)
|
||||||
{
|
{
|
||||||
return nullptr;
|
return nullptr;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -326,7 +326,7 @@ namespace snmalloc
|
|||||||
* so. If we have not allocated a per-thread allocator yet, then this
|
* so. If we have not allocated a per-thread allocator yet, then this
|
||||||
* function will allocate one.
|
* function will allocate one.
|
||||||
*/
|
*/
|
||||||
ALWAYSINLINE inline void* lazy_replacement(void* existing)
|
ALWAYSINLINE void* lazy_replacement(void* existing)
|
||||||
{
|
{
|
||||||
if (existing != &GlobalPlaceHolder)
|
if (existing != &GlobalPlaceHolder)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user