mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 05:47:34 +00:00
AK: Unbreak building with extra debug macros
This commit is contained in:
parent
33138900de
commit
184b454e2f
3 changed files with 6 additions and 4 deletions
|
@ -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()
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue