aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gcc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gcc.h b/src/gcc.h
index e921b4646..884e62be6 100644
--- a/src/gcc.h
+++ b/src/gcc.h
@@ -88,6 +88,7 @@
/* support for C++11 "override" was added in gcc 4.7 */
#if !defined(__clang__) && defined(__GNUC__) && !GCC_CHECK_VERSION(4,7)
#define override
+#define final
#endif
#endif