mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-02 15:46:33 +00:00
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.)
This commit is contained in:
parent
6454969d6b
commit
9f7ec33180
Notes:
sideshowbarker
2024-07-19 03:06:44 +09:00
Author: https://github.com/BenWiederhake
Commit: 9f7ec33180
Pull-request: https://github.com/SerenityOS/serenity/pull/3313
Reviewed-by: https://github.com/nico
15 changed files with 44 additions and 30 deletions
|
@ -62,8 +62,9 @@ class Object
|
|||
, public Weakable<Object> {
|
||||
// NOTE: No C_OBJECT macro for Core::Object itself.
|
||||
|
||||
AK_MAKE_NONCOPYABLE(Object)
|
||||
AK_MAKE_NONMOVABLE(Object)
|
||||
AK_MAKE_NONCOPYABLE(Object);
|
||||
AK_MAKE_NONMOVABLE(Object);
|
||||
|
||||
public:
|
||||
IntrusiveListNode m_all_objects_list_node;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue