COMMON: Allow use of C++11 final keyword

This commit is contained in:
Colin Snover 2018-01-21 00:03:58 -06:00 committed by David Turner
parent 256f809bc7
commit 7c131e0277

View File

@ -39,12 +39,13 @@
#endif
//
// Replacement for the override keyword. This allows compilation of code
// which uses it, but does not feature any semantic.
// Replacement for the override & final keywords. This allows compilation of
// code which uses it, but does not feature any semantic.
//
// MSVC 2012 and newer fully support override: http://msdn.microsoft.com/en-us/library/hh567368.aspx
// MSVC 2012 and newer fully support these: http://msdn.microsoft.com/en-us/library/hh567368.aspx
#if !defined(_MSC_VER) || _MSC_VER < 1700
#define override
#define final
#endif
#endif