Added support for overide in c++11 supporting varients of gcc/clang
This commit is contained in:
parent
15b92af166
commit
a2d3eea80b
@ -44,8 +44,10 @@
|
||||
// TODO: Can GCC explicitly mark classes as abstract (no instances can be created)?
|
||||
#define abstract
|
||||
|
||||
// TODO: Can GCC mark virtual methods as overriding (forcing them to have a virtual function of the same signature in the base class)
|
||||
#define override
|
||||
// override is part of c++11
|
||||
#if __cplusplus < 201103L
|
||||
#define override
|
||||
#endif
|
||||
|
||||
#define OBSOLETE __attribute__((deprecated))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user