Skip to content

Commit c2f3876

Browse files
committed
mpl: const ref to function
Signed-off-by: João Mai <[email protected]>
1 parent 6ec50de commit c2f3876

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mpl/src/SACoreSoftMacro.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ class SACoreSoftMacro : public SimulatedAnnealingCore<SoftMacro>
9090

9191
std::vector<std::pair<float, float>> getClustersLocations() const;
9292
void setClustersLocations(
93-
std::vector<std::pair<float, float>>& clusters_locations);
93+
const std::vector<std::pair<float, float>>& clusters_locations);
9494
// Only for Cluster Placement:
9595
void attemptCentralization(float pre_cost);
9696
void moveFloorplan(const std::pair<float, float>& offset);

0 commit comments

Comments
 (0)