aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAokromes <Aokromes@users.noreply.github.com>2020-09-19 03:21:36 +0200
committerGitHub <noreply@github.com>2020-09-19 03:21:36 +0200
commit91cda8b1cdf4b45c4ca3ef1a742f6d1733ad3d66 (patch)
tree99934ad4667e72e63cb857570b7345eca9bec49f
parent2a91743d6ce2a2d6d184c903bd431e757f625c25 (diff)
Common/Metric: Fix build with PERFORMANCE_PROFILING and/or WITHOUT_METRICS
-rw-r--r--src/common/Metric/Metric.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/Metric/Metric.h b/src/common/Metric/Metric.h
index 73416ff14c4..d8dcc53fd43 100644
--- a/src/common/Metric/Metric.h
+++ b/src/common/Metric/Metric.h
@@ -167,7 +167,7 @@ MetricStopWatch<LoggerType> MakeMetricStopWatch(LoggerType&& loggerFunc)
#if defined PERFORMANCE_PROFILING || defined WITHOUT_METRICS
#define TC_METRIC_EVENT(category, title, description) ((void)0)
-#define TC_METRIC_VALUE(category, value) ((void)0)
+#define TC_METRIC_VALUE(category, value, ...) ((void)0)
#define TC_METRIC_TIMER(category, ...) ((void)0)
#define TC_METRIC_DETAILED_EVENT(category, title, description) ((void)0)
#define TC_METRIC_DETAILED_TIMER(category, ...) ((void)0)