Skip to content

Commit

Permalink
make t_noc_traffic_flow noexcept
Browse files Browse the repository at this point in the history
  • Loading branch information
soheilshahrouz committed Jan 18, 2025
1 parent 2d1cf88 commit 37c3ce7
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion vpr/src/noc/noc_traffic_flows.h
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,13 @@ struct t_noc_traffic_flow {
int traffic_flow_priority;

/** Constructor initializes all variables*/
t_noc_traffic_flow(std::string source_router_name, std::string sink_router_name, ClusterBlockId source_router_id, ClusterBlockId sink_router_id, double flow_bandwidth, double max_flow_latency, int flow_priority)
t_noc_traffic_flow(std::string source_router_name,
std::string sink_router_name,
ClusterBlockId source_router_id,
ClusterBlockId sink_router_id,
double flow_bandwidth,
double max_flow_latency,
int flow_priority) noexcept
: source_router_module_name(std::move(source_router_name))
, sink_router_module_name(std::move(sink_router_name))
, source_router_cluster_id(source_router_id)
Expand Down

0 comments on commit 37c3ce7

Please sign in to comment.