Suppress clang warning [-Winconsistent-missing-override] for GetClassInfo() in wxDECLARE_ABSTRACT_CLASS.
This commit is contained in:
parent
f90205951c
commit
450d9ce2b5
@ -128,7 +128,9 @@ WXDLLIMPEXP_BASE wxObject *wxCreateDynamicObject(const wxString& name);
|
||||
#define wxDECLARE_ABSTRACT_CLASS(name) \
|
||||
public: \
|
||||
static wxClassInfo ms_classInfo; \
|
||||
virtual wxClassInfo *GetClassInfo() const
|
||||
wxCLANG_WARNING_SUPPRESS(inconsistent-missing-override) \
|
||||
virtual wxClassInfo *GetClassInfo() const \
|
||||
wxCLANG_WARNING_RESTORE(inconsistent-missing-override)
|
||||
|
||||
#define wxDECLARE_DYNAMIC_CLASS_NO_ASSIGN(name) \
|
||||
wxDECLARE_NO_ASSIGN_CLASS(name); \
|
||||
|
Loading…
Reference in New Issue
Block a user