aboutsummaryrefslogtreecommitdiff
path: root/src/network/networkpacket.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/network/networkpacket.cpp')
-rw-r--r--src/network/networkpacket.cpp16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/network/networkpacket.cpp b/src/network/networkpacket.cpp
index 6d869e5eb..22c035c5b 100644
--- a/src/network/networkpacket.cpp
+++ b/src/network/networkpacket.cpp
@@ -281,12 +281,6 @@ NetworkPacket& NetworkPacket::operator<<(u64 src)
return *this;
}
-NetworkPacket& NetworkPacket::operator<<(std::time_t src)
-{
- *this << (u64) src;
- return *this;
-}
-
NetworkPacket& NetworkPacket::operator<<(float src)
{
checkDataSize(4);
@@ -372,16 +366,6 @@ NetworkPacket& NetworkPacket::operator>>(u64& dst)
return *this;
}
-NetworkPacket& NetworkPacket::operator>>(std::time_t& dst)
-{
- checkReadOffset(m_read_offset, 8);
-
- dst = readU64(&m_data[m_read_offset]);
-
- m_read_offset += 8;
- return *this;
-}
-
NetworkPacket& NetworkPacket::operator>>(float& dst)
{
checkReadOffset(m_read_offset, 4);