IVGCVSW-4587 ArmNN failing to build in the Internal OOB
* ProfilingService reference field not required in TimelineUtilityMethods
Signed-off-by: Sadik Armagan <sadik.armagan@arm.com>
Change-Id: I83ca13e577d35fb9497d7df1535607ec66c201bf
diff --git a/src/profiling/TimelineUtilityMethods.hpp b/src/profiling/TimelineUtilityMethods.hpp
index df56cd6..17d2aac 100644
--- a/src/profiling/TimelineUtilityMethods.hpp
+++ b/src/profiling/TimelineUtilityMethods.hpp
@@ -25,11 +25,11 @@
static std::unique_ptr<TimelineUtilityMethods> GetTimelineUtils(ProfilingService& profilingService);
TimelineUtilityMethods(
- std::unique_ptr<ISendTimelinePacket>& sendTimelinePacket, ProfilingService& profilingService)
- : m_SendTimelinePacket(std::move(sendTimelinePacket)), m_ProfilingService(profilingService) {}
+ std::unique_ptr<ISendTimelinePacket>& sendTimelinePacket)
+ : m_SendTimelinePacket(std::move(sendTimelinePacket)) {}
TimelineUtilityMethods(TimelineUtilityMethods&& other)
- : m_SendTimelinePacket(std::move(other.m_SendTimelinePacket)), m_ProfilingService(other.m_ProfilingService) {}
+ : m_SendTimelinePacket(std::move(other.m_SendTimelinePacket)) {}
TimelineUtilityMethods(const TimelineUtilityMethods& other) = delete;
@@ -92,7 +92,6 @@
private:
std::unique_ptr<ISendTimelinePacket> m_SendTimelinePacket;
- profiling::ProfilingService& m_ProfilingService;
};
} // namespace profiling