Skip to content

Commit 0c29ac6

Browse files
committed
change const to constexpr
1 parent 82fa72d commit 0c29ac6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

offload/include/OpenMP/InteropAPI.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ struct InteropTableEntry {
152152

153153
ContainerTy Interops;
154154

155-
const int reservedEntriesPerThread =
155+
static constexpr int reservedEntriesPerThread =
156156
20; // reserve some entries to avoid reallocation
157157

158158
void add(omp_interop_val_t *obj) {

0 commit comments

Comments
 (0)