aboutsummaryrefslogtreecommitdiff
path: root/games/openmw/files/patch-components_esm_formid.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'games/openmw/files/patch-components_esm_formid.hpp')
-rw-r--r--games/openmw/files/patch-components_esm_formid.hpp17
1 files changed, 0 insertions, 17 deletions
diff --git a/games/openmw/files/patch-components_esm_formid.hpp b/games/openmw/files/patch-components_esm_formid.hpp
deleted file mode 100644
index 44f943fea077..000000000000
--- a/games/openmw/files/patch-components_esm_formid.hpp
+++ /dev/null
@@ -1,17 +0,0 @@
---- components/esm/formid.hpp.orig 2025-07-01 11:41:15 UTC
-+++ components/esm/formid.hpp
-@@ -51,10 +51,10 @@ namespace std
- {
- size_t operator()(const ESM::FormId& formId) const
- {
-- static_assert(sizeof(ESM::FormId) == sizeof(size_t));
-- size_t s;
-- memcpy(&s, &formId, sizeof(size_t));
-- return hash<size_t>()(s);
-+ static_assert(sizeof(ESM::FormId) == sizeof(uint64_t));
-+ uint64_t s;
-+ memcpy(&s, &formId, sizeof(ESM::FormId));
-+ return hash<uint64_t>()(s);
- }
- };
-