IVGCVSW-6847 replace armnn:Optional with arm::pipe::Optional in profiling code

Change-Id: I048c538d4f8c21770aec2b2751c934d9fa15a4dc
Signed-off-by: Jim Flynn <jim.flynn@arm.com>
diff --git a/src/profiling/ActivateTimelineReportingCommandHandler.hpp b/src/profiling/ActivateTimelineReportingCommandHandler.hpp
index ecc7076..6b311fe 100644
--- a/src/profiling/ActivateTimelineReportingCommandHandler.hpp
+++ b/src/profiling/ActivateTimelineReportingCommandHandler.hpp
@@ -10,12 +10,10 @@
 #include "IReportStructure.hpp"
 #include "INotifyBackends.hpp"
 
-#include "armnn/Optional.hpp"
-
 #include <common/include/CommandHandlerFunctor.hpp>
+#include <common/include/Optional.hpp>
 #include <common/include/Packet.hpp>
 
-
 namespace arm
 {
 
@@ -30,7 +28,7 @@
                                             uint32_t version,
                                             SendTimelinePacket& sendTimelinePacket,
                                             ProfilingStateMachine& profilingStateMachine,
-                                            armnn::Optional<IReportStructure&> reportStructure,
+                                            arm::pipe::Optional<IReportStructure&> reportStructure,
                                             std::atomic<bool>& timelineReporting,
                                             INotifyBackends& notifyBackends)
         : CommandHandlerFunctor(familyId, packetId, version),
@@ -49,7 +47,7 @@
     std::atomic<bool>&     m_TimelineReporting;
     INotifyBackends&       m_BackendNotifier;
 
-    armnn::Optional<IReportStructure&> m_ReportStructure;
+    arm::pipe::Optional<IReportStructure&> m_ReportStructure;
 };
 
 } // namespace pipe