Improve code quality for alloc_size (#196)
* Improve code quality for alloc_size * Made error noreturn. * Update docs. * Move annoation
This commit is contained in:
committed by
GitHub
parent
fbbc2ddb76
commit
87dfd41553
@@ -49,7 +49,7 @@ namespace snmalloc
|
||||
DefaultPal;
|
||||
#endif
|
||||
|
||||
SNMALLOC_SLOW_PATH inline void error(const char* const str)
|
||||
[[noreturn]] SNMALLOC_SLOW_PATH inline void error(const char* const str)
|
||||
{
|
||||
Pal::error(str);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user