aboutsummaryrefslogtreecommitdiff
path: root/src/profiling/Packet.hpp
diff options
context:
space:
mode:
authorMatteo Martincigh <matteo.martincigh@arm.com>2019-11-21 12:10:42 +0000
committerMatteo Martincigh <matteo.martincigh@arm.com>2019-11-28 11:18:35 +0000
commit76c50d81a5ac188a011c18bcf4afd71e35d17976 (patch)
tree4b4cd76b65628ff2dccf86f2e398333a10ff09e1 /src/profiling/Packet.hpp
parent9820d3045f6d916b1a214d37dc9e140ea41bb324 (diff)
downloadarmnn-76c50d81a5ac188a011c18bcf4afd71e35d17976.tar.gz
Remove const type qualifiers with no effect
Signed-off-by: Matteo Martincigh <matteo.martincigh@arm.com> Change-Id: I3ddd98864eef41c0548ab907a48b025b9154a5a8
Diffstat (limited to 'src/profiling/Packet.hpp')
-rw-r--r--src/profiling/Packet.hpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/profiling/Packet.hpp b/src/profiling/Packet.hpp
index ff6de69f53..c1f2796804 100644
--- a/src/profiling/Packet.hpp
+++ b/src/profiling/Packet.hpp
@@ -66,13 +66,13 @@ public:
Packet& operator=(const Packet&) = delete;
Packet& operator=(Packet&&) = default;
- uint32_t GetHeader() const { return m_Header; }
- uint32_t GetPacketFamily() const { return m_PacketFamily; }
- uint32_t GetPacketId() const { return m_PacketId; }
- uint32_t GetPacketClass() const { return m_PacketId >> 3; }
- uint32_t GetPacketType() const { return m_PacketId & 7; }
- uint32_t GetLength() const { return m_Length; }
- const unsigned char* const GetData() const { return m_Data.get(); }
+ uint32_t GetHeader() const { return m_Header; }
+ uint32_t GetPacketFamily() const { return m_PacketFamily; }
+ uint32_t GetPacketId() const { return m_PacketId; }
+ uint32_t GetPacketClass() const { return m_PacketId >> 3; }
+ uint32_t GetPacketType() const { return m_PacketId & 7; }
+ uint32_t GetLength() const { return m_Length; }
+ const unsigned char* GetData() const { return m_Data.get(); }
bool IsEmpty() { return m_Header == 0 && m_Length == 0; }