Change hash from enum to int, older gcc versions have trouble with that

This commit is contained in:
KimLS
2019-05-12 21:09:06 -07:00
parent 0eeb73b436
commit 09b91f5229
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -66,8 +66,8 @@ namespace EQ
std::shared_ptr<DaybreakConnection> m_connection;
OpcodeManager **m_opcode_manager;
std::deque<std::unique_ptr<EQ::Net::Packet>> m_packet_queue;
std::unordered_map<EmuOpcode, int> m_packet_recv_count;
std::unordered_map<EmuOpcode, int> m_packet_sent_count;
std::unordered_map<int, int> m_packet_recv_count;
std::unordered_map<int, int> m_packet_sent_count;
friend class EQStreamManager;
};
}