Skip to content

Commit 790a7c7

Browse files
committed
Converted a string to a char string before printing it. This was done so that the clang compiler would not fail
1 parent dc8aee4 commit 790a7c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vpr/src/noc/noc_routing_algorithm_creator.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ NocRouting* NocRoutingAlgorithmCreator::create_routing_algorithm(std::string rou
1010
} else if (routing_algorithm_name == "bfs_routing") {
1111
noc_routing_algorithm = new BFSRouting();
1212
} else {
13-
VPR_FATAL_ERROR(VPR_ERROR_OTHER, "The provided NoC routing algorithm '%s' is not supported.", routing_algorithm_name);
13+
VPR_FATAL_ERROR(VPR_ERROR_OTHER, "The provided NoC routing algorithm '%s' is not supported.", routing_algorithm_name.c_str());
1414
}
1515

1616
return noc_routing_algorithm;

0 commit comments

Comments
 (0)