aboutsummaryrefslogtreecommitdiff
path: root/src/profiling/RegisterBackendCounters.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/profiling/RegisterBackendCounters.cpp')
-rw-r--r--src/profiling/RegisterBackendCounters.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/profiling/RegisterBackendCounters.cpp b/src/profiling/RegisterBackendCounters.cpp
index 36f6106c00..035a2ca8a9 100644
--- a/src/profiling/RegisterBackendCounters.cpp
+++ b/src/profiling/RegisterBackendCounters.cpp
@@ -59,7 +59,7 @@ uint16_t RegisterBackendCounters::RegisterCounter(const uint16_t uid,
counterSetUid);
m_CurrentMaxGlobalCounterID = counterPtr->m_MaxCounterUid;
// register mappings
- IRegisterCounterMapping& counterIdMap = ProfilingService::Instance().GetCounterMappingRegistry();
+ IRegisterCounterMapping& counterIdMap = m_ProfilingService.GetCounterMappingRegistry();
uint16_t globalCounterId = counterPtr->m_Uid;
if (globalCounterId == counterPtr->m_MaxCounterUid)
{