Fix some duplicate inline warnings.

This commit is contained in:
David Chisnall
2019-07-05 11:15:38 +01:00
parent 1e65aafa06
commit eefc9e49c5
2 changed files with 2 additions and 2 deletions

View File

@@ -234,7 +234,7 @@ namespace snmalloc
FastFreeLists() : small_fast_free_lists() {}
};
ALWAYSINLINE inline void* no_replacement(void*)
SNMALLOC_FAST_PATH void* no_replacement(void*)
{
return nullptr;
}

View File

@@ -326,7 +326,7 @@ namespace snmalloc
* so. If we have not allocated a per-thread allocator yet, then this
* function will allocate one.
*/
ALWAYSINLINE inline void* lazy_replacement(void* existing)
ALWAYSINLINE void* lazy_replacement(void* existing)
{
if (existing != &GlobalPlaceHolder)
{