summaryrefslogtreecommitdiff
path: root/src/macros.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/macros.h')
-rw-r--r--src/macros.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/macros.h b/src/macros.h
index 28b9f7aba6..f7146ad3dc 100644
--- a/src/macros.h
+++ b/src/macros.h
@@ -140,6 +140,8 @@ char (&ArraySizeHelper(T (&array)[N]))[N];
_rc; })
#endif
+template<typename T> void UNUSED(const T&) {}
+
#if defined(__SUPPORT_TS_ANNOTATION__)
#define ACQUIRED_AFTER(...) __attribute__ ((acquired_after(__VA_ARGS__)))