Mark LogPacketHeaderEntry hash as noexcept

This commit is contained in:
Chloe Marcec 2021-01-20 18:35:58 +11:00
parent 83f8c1a25e
commit dca2e2c8f1

View File

@ -39,7 +39,7 @@ struct LogPacketHeaderEntry {
namespace std { namespace std {
template <> template <>
struct hash<Service::LM::LogPacketHeaderEntry> { struct hash<Service::LM::LogPacketHeaderEntry> {
std::size_t operator()(const Service::LM::LogPacketHeaderEntry& k) const { std::size_t operator()(const Service::LM::LogPacketHeaderEntry& k) const noexcept {
std::size_t seed{}; std::size_t seed{};
boost::hash_combine(seed, k.pid); boost::hash_combine(seed, k.pid);
boost::hash_combine(seed, k.tid); boost::hash_combine(seed, k.tid);