1
0
Fork 0

Added support for overide in c++11 supporting varients of gcc/clang

This commit is contained in:
Tycho 2014-01-25 15:02:31 -08:00
parent 15b92af166
commit a2d3eea80b
1 changed files with 4 additions and 2 deletions

View File

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