LibCore: Fix errors when compiling LibCore using clang instead of gcc

This commit is contained in:
Stefano Cristiano 2019-12-25 17:08:43 +01:00 committed by Andreas Kling
commit aab412bd85
Notes: sideshowbarker 2024-07-19 17:42:14 +09:00
3 changed files with 7 additions and 2 deletions

View file

@ -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>