Parcourir la source

Mark LogPacketHeaderEntry hash as noexcept

Chloe Marcec il y a 5 ans
Parent
commit
dca2e2c8f1
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/core/hle/service/lm/lm.cpp

+ 1 - 1
src/core/hle/service/lm/lm.cpp

@@ -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);