mirror of
https://github.com/odin-lang/Odin.git
synced 2025-12-30 18:02:02 +00:00
Add extra mutex to TypePth just in case
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
template <typename T>
|
||||
struct PtrSetEntry {
|
||||
static_assert(sizeof(T) == sizeof(void *), "Key size must be pointer size");
|
||||
|
||||
T ptr;
|
||||
MapIndex next;
|
||||
|
||||
@@ -10,6 +12,7 @@ struct PtrSetEntry {
|
||||
|
||||
template <typename T>
|
||||
struct PtrSet {
|
||||
|
||||
Slice<MapIndex> hashes;
|
||||
Array<PtrSetEntry<T>> entries;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user