mirror of
https://github.com/SerenityOS/serenity
synced 2024-07-23 19:15:55 +00:00
LibJS: Force a semicolon after JS_{DECLARE,DEFINE}_ALLOCATOR()
This matches the style of other macros, and prevents IDEs from flagging the semicolon as unnecessary.
This commit is contained in:
parent
d47f656a3a
commit
edf484a5ab
|
@ -14,10 +14,10 @@
|
|||
#include <LibJS/Heap/HeapBlock.h>
|
||||
|
||||
#define JS_DECLARE_ALLOCATOR(ClassName) \
|
||||
static JS::TypeIsolatingCellAllocator<ClassName> cell_allocator;
|
||||
static JS::TypeIsolatingCellAllocator<ClassName> cell_allocator
|
||||
|
||||
#define JS_DEFINE_ALLOCATOR(ClassName) \
|
||||
JS::TypeIsolatingCellAllocator<ClassName> ClassName::cell_allocator { #ClassName };
|
||||
JS::TypeIsolatingCellAllocator<ClassName> ClassName::cell_allocator { #ClassName }
|
||||
|
||||
namespace JS {
|
||||
|
||||
|
|
Loading…
Reference in a new issue