summaryrefslogtreecommitdiff
path: root/Libraries/LibJS/Runtime/Symbol.h
diff options
context:
space:
mode:
authorBen Wiederhake <BenWiederhake.GitHub@gmx.de>2020-08-26 21:52:24 +0200
committerAndreas Kling <kling@serenityos.org>2020-08-27 10:12:04 +0200
commit9f7ec331803917c9e73041012b5e4b568ab1198a (patch)
treee275f60fa86a48a9a87a8e9e2bfc35f7bd21b2c7 /Libraries/LibJS/Runtime/Symbol.h
parent6454969d6bf855aa8a37d6b2b1a5320951196eac (diff)
downloadserenity-9f7ec331803917c9e73041012b5e4b568ab1198a.zip
Meta: Force semi-colon after MAKE_AK_NONXXXABLE()
Before, we had about these occurrence counts: COPY: 13 without, 33 with MOVE: 12 without, 28 with Clearly, 'with' was the preferred way. However, this introduced double-semicolons all over the place, and caused some warnings to trigger. This patch *forces* the usage of a semi-colon when calling the macro, by removing the semi-colon within the macro. (And thus also gets rid of the double-semicolon.)
Diffstat (limited to 'Libraries/LibJS/Runtime/Symbol.h')
-rw-r--r--Libraries/LibJS/Runtime/Symbol.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Libraries/LibJS/Runtime/Symbol.h b/Libraries/LibJS/Runtime/Symbol.h
index ce90502774..c576793815 100644
--- a/Libraries/LibJS/Runtime/Symbol.h
+++ b/Libraries/LibJS/Runtime/Symbol.h
@@ -32,8 +32,8 @@
namespace JS {
class Symbol final : public Cell {
- AK_MAKE_NONCOPYABLE(Symbol)
- AK_MAKE_NONMOVABLE(Symbol)
+ AK_MAKE_NONCOPYABLE(Symbol);
+ AK_MAKE_NONMOVABLE(Symbol);
public:
Symbol(String, bool);