Skip to content

Commit f2abc45

Browse files
committed
East const
1 parent 0deefde commit f2abc45

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cpp/src/io/fst/dispatch_dfa.cuh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ template <int ALLOCATIONS>
3838
cudaError_t AliasTemporaries(void* d_temp_storage,
3939
size_t& temp_storage_bytes,
4040
void* (&allocations)[ALLOCATIONS],
41-
const size_t (&allocation_sizes)[ALLOCATIONS])
41+
size_t const (&allocation_sizes)[ALLOCATIONS])
4242
{
4343
constexpr size_t ALIGN_BYTES = 256;
4444
constexpr size_t ALIGN_MASK = ~(ALIGN_BYTES - 1);
@@ -47,7 +47,7 @@ cudaError_t AliasTemporaries(void* d_temp_storage,
4747
size_t allocation_offsets[ALLOCATIONS];
4848
size_t bytes_needed = 0;
4949
for (int i = 0; i < ALLOCATIONS; ++i) {
50-
const size_t allocation_bytes = (allocation_sizes[i] + ALIGN_BYTES - 1) & ALIGN_MASK;
50+
size_t const allocation_bytes = (allocation_sizes[i] + ALIGN_BYTES - 1) & ALIGN_MASK;
5151
allocation_offsets[i] = bytes_needed;
5252
bytes_needed += allocation_bytes;
5353
}

0 commit comments

Comments
 (0)