fw: add override specifier to Strategy triggers
refs #2281
Change-Id: I5357ac6a93260492900d24c8955fdd7397ef2d27
diff --git a/common.hpp b/common.hpp
index 17edcc5..94171c7 100644
--- a/common.hpp
+++ b/common.hpp
@@ -40,6 +40,15 @@
#define PROTECTED_WITH_TESTS_ELSE_PRIVATE private
#endif
+/** \def DECL_OVERRIDE
+ * \brief expands to 'override' if compiler supports this feature, otherwise expands to nothing
+ */
+#ifdef HAVE_CXX_OVERRIDE
+#define DECL_OVERRIDE override
+#else
+#define DECL_OVERRIDE
+#endif
+
#include <cstddef>
#include <list>
#include <set>