Skip to content

Commit 62358a0

Browse files
committed
gui: add header and use +=
Signed-off-by: Peter Gadfort <[email protected]>
1 parent bbe0f7b commit 62358a0

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

src/gui/src/dbDescriptors.cpp

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
#include "odb/dbTypes.h"
3737
#include "odb/dbWireGraph.h"
3838
#include "odb/geom.h"
39+
#include "odb/odb.h"
3940
#include "options.h"
4041
#include "sta/Liberty.hh"
4142
#include "utl/Logger.h"
@@ -2962,10 +2963,11 @@ Descriptor::Properties DbTechLayerDescriptor::getDBProperties(
29622963
: "";
29632964

29642965
for (int j = 0; j < widths; j++) {
2965-
std::string title = prefix_title + " - "
2966-
+ Property::convert_dbu(
2967-
layer->getTwoWidthsSpacingTableWidth(j), true)
2968-
+ prl_title;
2966+
std::string title = prefix_title;
2967+
title += " - ";
2968+
title += Property::convert_dbu(layer->getTwoWidthsSpacingTableWidth(j),
2969+
true);
2970+
title += prl_title;
29692971
spacing_rules.emplace_back(
29702972
title,
29712973
Property::convert_dbu(layer->getTwoWidthsSpacingTableEntry(i, j),

0 commit comments

Comments
 (0)