mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Common/Metric: Fix build with PERFORMANCE_PROFILING and/or WITHOUT_METRICS
(cherry picked from commit 91cda8b1cd)
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