Skip to content

Commit 94c0c3f

Browse files
XLS Teamcopybara-github
authored andcommitted
Internal Code Change
PiperOrigin-RevId: 595323534
1 parent 3578509 commit 94c0c3f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

xls/noc/simulation/global_routing_table.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ DistributedRoutingTable::ComputeRoute(NetworkComponentId source,
8989
if (route.size() > max_hops) {
9090
std::stringstream route_error_msg;
9191
route_error_msg << "Network components in the route thus far are:"
92-
<< std::endl;
92+
<< '\n';
9393
for (const NetworkComponentId nc_id : route) {
9494
XLS_ASSIGN_OR_RETURN(
9595
NetworkComponentParam nc_param,
@@ -100,7 +100,7 @@ DistributedRoutingTable::ComputeRoute(NetworkComponentId source,
100100
} else if (std::holds_alternative<LinkParam>(nc_param)) {
101101
name = std::get<LinkParam>(nc_param).GetName();
102102
}
103-
route_error_msg << name << std::endl;
103+
route_error_msg << name << '\n';
104104
}
105105
return absl::InternalError(absl::StrFormat(
106106
"Route from source %x to sink %x exceeded max hops %d. %s",

0 commit comments

Comments
 (0)