diff options
Diffstat (limited to 'src/profiling/test')
-rw-r--r-- | src/profiling/test/ProfilingTestUtils.hpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/profiling/test/ProfilingTestUtils.hpp b/src/profiling/test/ProfilingTestUtils.hpp index 810a34c3e2..16c6dde4ea 100644 --- a/src/profiling/test/ProfilingTestUtils.hpp +++ b/src/profiling/test/ProfilingTestUtils.hpp @@ -72,23 +72,22 @@ namespace pipe class ProfilingServiceRuntimeHelper : public ProfilingService { public: - ProfilingServiceRuntimeHelper(ProfilingService& profilingService) + ProfilingServiceRuntimeHelper(IProfilingService& profilingService) : m_ProfilingService(profilingService) {} ~ProfilingServiceRuntimeHelper() = default; BufferManager& GetProfilingBufferManager() { - return GetBufferManager(m_ProfilingService); + return GetBufferManager(static_cast<ProfilingService&>(m_ProfilingService)); } - ProfilingService& m_ProfilingService; + IProfilingService& m_ProfilingService; void ForceTransitionToState(ProfilingState newState) { - TransitionToState(m_ProfilingService, newState); + TransitionToState(static_cast<ProfilingService&>(m_ProfilingService), newState); } }; } // namespace pipe } // namespace arm - |