Enable override keyword for GCC versions >= 4.7
Review URL: https://codereview.chromium.org/945803005
This commit is contained in:
parent
2aa1f7e679
commit
7ff705023d
@ -302,6 +302,9 @@
|
||||
# elif defined(__has_extension) && __has_extension(cxx_override_control)
|
||||
# define SK_OVERRIDE override
|
||||
# endif
|
||||
// if GCC >= 4.7
|
||||
# elif defined(__GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 7))
|
||||
# define SK_OVERRIDE override
|
||||
# endif
|
||||
# ifndef SK_OVERRIDE
|
||||
# define SK_OVERRIDE
|
||||
|
Loading…
Reference in New Issue
Block a user