mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 16:18:12 +00:00
LibCore: Fix errors when compiling LibCore using clang instead of gcc
This commit is contained in:
parent
250f6b9a1e
commit
aab412bd85
3 changed files with 7 additions and 2 deletions
|
@ -26,6 +26,10 @@ public: \
|
|||
{ \
|
||||
return adopt(*new klass(forward<Args>(args)...)); \
|
||||
}
|
||||
|
||||
#define C_OBJECT_ABSTRACT(klass) \
|
||||
public: \
|
||||
virtual const char* class_name() const override { return #klass; }
|
||||
|
||||
class CObject
|
||||
: public RefCounted<CObject>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue