aboutsummaryrefslogtreecommitdiff
path: root/src/profiling/Packet.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/profiling/Packet.cpp')
-rw-r--r--src/profiling/Packet.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/profiling/Packet.cpp b/src/profiling/Packet.cpp
index 44d5ac19e9..4cfa42bbc9 100644
--- a/src/profiling/Packet.cpp
+++ b/src/profiling/Packet.cpp
@@ -31,9 +31,9 @@ std::uint32_t Packet::GetLength() const
return m_Length;
}
-const char* Packet::GetData() const
+const char* const Packet::GetData() const
{
- return m_Data;
+ return m_Data.get();
}
std::uint32_t Packet::GetPacketClass() const