Mark LogPacketHeaderEntry hash as noexcept
This commit is contained in:
parent
83f8c1a25e
commit
dca2e2c8f1
|
@ -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);
|
||||||
|
|
Reference in New Issue