summaryrefslogtreecommitdiffstats
path: root/Tools/ProtoProxy/Connection.h
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2014-11-23 15:22:05 +0100
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2014-11-23 15:22:05 +0100
commit6382989ba08727898587f34f505a03a9035511a2 (patch)
tree42cc9f37175e636ba55193d4a04f385a0f46987a /Tools/ProtoProxy/Connection.h
parentUpdate GCC on Travis (diff)
downloadcuberite-6382989ba08727898587f34f505a03a9035511a2.tar
cuberite-6382989ba08727898587f34f505a03a9035511a2.tar.gz
cuberite-6382989ba08727898587f34f505a03a9035511a2.tar.bz2
cuberite-6382989ba08727898587f34f505a03a9035511a2.tar.lz
cuberite-6382989ba08727898587f34f505a03a9035511a2.tar.xz
cuberite-6382989ba08727898587f34f505a03a9035511a2.tar.zst
cuberite-6382989ba08727898587f34f505a03a9035511a2.zip
Diffstat (limited to '')
-rw-r--r--Tools/ProtoProxy/Connection.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/Tools/ProtoProxy/Connection.h b/Tools/ProtoProxy/Connection.h
index 1fc9536de..c79273f8a 100644
--- a/Tools/ProtoProxy/Connection.h
+++ b/Tools/ProtoProxy/Connection.h
@@ -10,7 +10,6 @@
#pragma once
#include "ByteBuffer.h"
-#include "OSSupport/Timer.h"
#include "PolarSSL++/AesCfb128Decryptor.h"
#include "PolarSSL++/AesCfb128Encryptor.h"
@@ -37,8 +36,7 @@ class cConnection
SOCKET m_ClientSocket;
SOCKET m_ServerSocket;
- cTimer m_Timer;
- long long m_BeginTick; // Tick when the relative time was first retrieved (used for GetRelativeTime())
+ std::chrono::steady_clock::time_point m_BeginTick; // Tick when the relative time was first retrieved (used for GetRelativeTime())
enum eConnectionState
{