Apply suggestions from code review
This commit is contained in:
committed by
GitHub
parent
acbcbce597
commit
9dc689762c
@@ -32,11 +32,12 @@
|
||||
|
||||
namespace snmalloc
|
||||
{
|
||||
// Forwards reference so that the platform can define how to handle errors.
|
||||
void error(const char* const str);
|
||||
} // namespace snmalloc
|
||||
|
||||
#ifdef NDEBUG
|
||||
# define SNMALLOC_ASSERT(expr) ((void 0))
|
||||
# define SNMALLOC_ASSERT(expr) { }
|
||||
#else
|
||||
# define SNMALLOC_ASSERT(expr) \
|
||||
{ \
|
||||
|
||||
@@ -116,4 +116,4 @@ namespace snmalloc
|
||||
}
|
||||
}
|
||||
};
|
||||
} // namespace snmalloc
|
||||
} // namespace snmalloc
|
||||
|
||||
Reference in New Issue
Block a user