From 33199c25e5af1553e474a6f6eede07e888cd45ee Mon Sep 17 00:00:00 2001 From: Francis Murtagh Date: Mon, 15 Feb 2021 10:11:28 +0000 Subject: IVGCVSW-5675 Implement Pimpl Idiom for IProfiler (lower priority) Signed-off-by: Francis Murtagh Change-Id: If716f5f4e9b5433586b8a939d326830482da2f74 --- src/armnn/test/UnitTests.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/armnn/test/UnitTests.hpp') diff --git a/src/armnn/test/UnitTests.hpp b/src/armnn/test/UnitTests.hpp index e0505c9a9f..c15477bf19 100644 --- a/src/armnn/test/UnitTests.hpp +++ b/src/armnn/test/UnitTests.hpp @@ -64,7 +64,7 @@ void CompareTestResultIfSupported(const std::string& testName, const std::vector template void RunTestFunction(const char* testName, TFuncPtr testFunction, Args... args) { - std::unique_ptr profiler = std::make_unique(); + std::unique_ptr profiler = std::make_unique(); armnn::ProfilerManager::GetInstance().RegisterProfiler(profiler.get()); auto memoryManager = WorkloadFactoryHelper::GetMemoryManager(); @@ -80,7 +80,7 @@ void RunTestFunction(const char* testName, TFuncPtr testFunction, Args... args) template void RunTestFunctionUsingTensorHandleFactory(const char* testName, TFuncPtr testFunction, Args... args) { - std::unique_ptr profiler = std::make_unique(); + std::unique_ptr profiler = std::make_unique(); armnn::ProfilerManager::GetInstance().RegisterProfiler(profiler.get()); auto memoryManager = WorkloadFactoryHelper::GetMemoryManager(); -- cgit v1.2.1