Fix clang issue- change string to string.c_str() for VTR_LOG.

This commit is contained in:
taoli4rs 2022-07-20 15:20:19 -07:00
parent 3762a3aae4
commit 0dab36f326
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ int main(int argc, const char** argv) {
}
command_line += argv[i];
}
VTR_LOG("Created command line <%s> for test.\n", command_line);
VTR_LOG("Created command line <%s> for test.\n", command_line.c_str());
cmd_line pin_c_cmd (argc, argv);
VTR_LOG("Testing reader and writer.\n");
int status = pin_constrain_location_cmd_line(pin_c_cmd);