mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-29 13:22:48 +01:00
Common/Metric: Fix build with PERFORMANCE_PROFILING and/or WITHOUT_METRICS
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user