File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed
libc/src/__support/HashTable Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,6 @@ add_header_library(
28
28
libc.include.llvm-libc-types.ENTRY
29
29
libc.src.__support.CPP.bit
30
30
libc.src.__support.CPP.new
31
- libc.src.__support.CPP.type_traits
32
31
libc.src.__support.hash
33
32
libc.src.__support.macros.attributes
34
33
libc.src.__support.macros.optimization
Original file line number Diff line number Diff line change 12
12
#include " include/llvm-libc-types/ENTRY.h"
13
13
#include " src/__support/CPP/bit.h" // bit_ceil
14
14
#include " src/__support/CPP/new.h"
15
- #include " src/__support/CPP/type_traits.h"
16
15
#include " src/__support/HashTable/bitmask.h"
17
16
#include " src/__support/hash.h"
18
17
#include " src/__support/macros/attributes.h"
@@ -118,7 +117,7 @@ struct HashTable {
118
117
119
118
LIBC_INLINE constexpr static size_t offset_to_groups () {
120
119
size_t header_size = sizeof (HashTable);
121
- return header_size + offset_to (header_size, table_alignment ());
120
+ return header_size + SafeMemSize:: offset_to (header_size, table_alignment ());
122
121
}
123
122
124
123
LIBC_INLINE ENTRY &entry (size_t i) {
You can’t perform that action at this time.
0 commit comments