diff options
author | Ben Wiederhake <BenWiederhake.GitHub@gmx.de> | 2020-08-27 00:30:19 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-08-30 09:43:49 +0200 |
commit | 184b454e2f1bf9fe9639cb3f57b4294c6a2a32ec (patch) | |
tree | 039ddde1f337f57e211230abf0baa69f411ddf85 /AK/Weakable.h | |
parent | 33138900de506f3c71803b084272d0422c75ae43 (diff) | |
download | serenity-184b454e2f1bf9fe9639cb3f57b4294c6a2a32ec.zip |
AK: Unbreak building with extra debug macros
Diffstat (limited to 'AK/Weakable.h')
-rw-r--r-- | AK/Weakable.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/AK/Weakable.h b/AK/Weakable.h index 960b2a57c3..5d40a21632 100644 --- a/AK/Weakable.h +++ b/AK/Weakable.h @@ -30,7 +30,9 @@ #include "RefCounted.h" #include "RefPtr.h" -#define WEAKABLE_DEBUG +#ifndef WEAKABLE_DEBUG +# define WEAKABLE_DEBUG +#endif namespace AK { @@ -64,7 +66,7 @@ public: WeakPtr<T> make_weak_ptr(); protected: - Weakable() {} + Weakable() { } ~Weakable() { |