From 76c50d81a5ac188a011c18bcf4afd71e35d17976 Mon Sep 17 00:00:00 2001 From: Matteo Martincigh Date: Thu, 21 Nov 2019 12:10:42 +0000 Subject: Remove const type qualifiers with no effect Signed-off-by: Matteo Martincigh Change-Id: I3ddd98864eef41c0548ab907a48b025b9154a5a8 --- src/profiling/Packet.hpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/profiling/Packet.hpp') 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; } -- cgit v1.2.1