Skip to content

Commit 94864ae

Browse files
call c_str()
1 parent 3b938f6 commit 94864ae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

vpr/src/pack/pb_type_graph.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -886,8 +886,8 @@ static void alloc_and_load_mode_interconnect(t_pb_graph_node* pb_graph_parent_no
886886
vpr_throw(VPR_ERROR_ARCH, get_arch_file_name(), mode->interconnect[i].line_num,
887887
"Unknown interconnect %d for mode %s in pb_type %s, input %s, output %s\n",
888888
mode->interconnect[i].type, mode->name,
889-
pb_graph_parent_node->pb_type->name, mode->interconnect[i].input_string,
890-
mode->interconnect[i].output_string);
889+
pb_graph_parent_node->pb_type->name, mode->interconnect[i].input_string.c_str(),
890+
mode->interconnect[i].output_string.c_str());
891891
}
892892
for (j = 0; j < num_input_pb_graph_node_sets; j++) {
893893
delete[] input_pb_graph_node_pins[j];

0 commit comments

Comments
 (0)