Skip to content

Commit b240d7f

Browse files
call c_str() for name member variable
1 parent 72d4b1a commit b240d7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vpr/src/place/annealer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -879,7 +879,7 @@ void PlacementAnnealer::LOG_MOVE_STATS_PROPOSED() {
879879
"%d,",
880880
annealing_state_.t,
881881
int(b_from), int(b_to),
882-
from_type->name, (to_type ? to_type->name : "EMPTY"),
882+
from_type->name.c_str(), (to_type ? to_type->name.c_str() : "EMPTY"),
883883
blocks_affected_.moved_blocks.size());
884884
}
885885
}

0 commit comments

Comments
 (0)