File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ namespace ET_MERGED_DATA_MAP_NAMESPACE {
3838
3939 // Check for duplicate keys.
4040 std::unordered_map<std::string, uint32_t > key_to_map_index;
41- for (auto i : c10::irange (valid_data_maps.size ())) {
41+ for (const uint32_t i : c10::irange (valid_data_maps.size ())) {
4242 const auto cur_map = valid_data_maps[i];
4343 uint32_t num_keys = cur_map->get_num_keys ().get ();
4444 for (auto j : c10::irange (num_keys)) {
@@ -47,7 +47,7 @@ namespace ET_MERGED_DATA_MAP_NAMESPACE {
4747 ET_CHECK_OR_RETURN_ERROR (
4848 inserted,
4949 InvalidArgument,
50- " Duplicate key %s in named data maps at index %u and %lu " ,
50+ " Duplicate key %s in named data maps at index %u and %" PRIu32 ,
5151 cur_key,
5252 it->second ,
5353 i);
You can’t perform that action at this time.
0 commit comments