3
0
Fork 0
forked from suyu/suyu

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 {
template <>
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{};
boost::hash_combine(seed, k.pid);
boost::hash_combine(seed, k.tid);