Explorar o código

Mark LogPacketHeaderEntry hash as noexcept

Chloe Marcec %!s(int64=5) %!d(string=hai) anos
pai
achega
dca2e2c8f1
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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);