mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-27 01:02:48 +01:00
Mark LogPacketHeaderEntry hash as noexcept
This commit is contained in:
parent
83f8c1a25e
commit
dca2e2c8f1
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue