Skip to content

Commit

Permalink
#2387 Changed to_string to str_format
Browse files Browse the repository at this point in the history
  • Loading branch information
Howard Soh committed Jan 10, 2023
1 parent 1dcff94 commit 8eff3d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/libcode/vx_nc_obs/nc_obs_util.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1013,9 +1013,9 @@ void NetcdfObsVars::write_header_to_nc(NcDataBuffer &data_buf,
ConcatString log_message;
if (is_prepbufr) {
log_message.add(", pb_hdr_data_offset: ");
log_message.add(std::to_string(data_buf.pb_hdr_data_offset));
log_message.add(str_format("%i", data_buf.pb_hdr_data_offset));
log_message.add(", raw_hdr_cnt: ");
log_message.add(std::to_string(raw_hdr_cnt));
log_message.add(str_format("%i", raw_hdr_cnt));
}

mlog << Debug(7) << method_name << " buf_size: " << buf_size
Expand Down

0 comments on commit 8eff3d6

Please sign in to comment.