Skip to content

Commit e0b938d

Browse files
committed
mpl2: remove unused constructor
Signed-off-by: Arthur Koucher <[email protected]>
1 parent 74c7c59 commit e0b938d

File tree

2 files changed

+1
-23
lines changed

2 files changed

+1
-23
lines changed

src/mpl2/src/object.cpp

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -998,23 +998,6 @@ SoftMacro::SoftMacro(float width, float height, const std::string& name)
998998
cluster_ = nullptr;
999999
}
10001000

1001-
// SoftMacro : Fixed Hard Macro (or blockage)
1002-
SoftMacro::SoftMacro(float width,
1003-
float height,
1004-
const std::string& name,
1005-
float lx,
1006-
float ly)
1007-
{
1008-
name_ = name;
1009-
width_ = width;
1010-
height_ = height;
1011-
area_ = width * height;
1012-
x_ = lx;
1013-
y_ = ly;
1014-
cluster_ = nullptr;
1015-
fixed_ = true;
1016-
}
1017-
10181001
// Create a SoftMacro representing the IO cluster or fixed terminals
10191002
SoftMacro::SoftMacro(const std::pair<float, float>& pos,
10201003
const std::string& name,

src/mpl2/src/object.h

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -475,12 +475,7 @@ class SoftMacro
475475
// Create a SoftMacro with specified size
476476
// Create a SoftMacro representing the blockage
477477
SoftMacro(float width, float height, const std::string& name);
478-
// Create a SoftMacro representing fixed hard macro or blockage
479-
SoftMacro(float width,
480-
float height,
481-
const std::string& name,
482-
float lx,
483-
float ly);
478+
484479
// Create a SoftMacro representing the IO cluster
485480
SoftMacro(const std::pair<float, float>& pos,
486481
const std::string& name,

0 commit comments

Comments
 (0)