Skip to content

Commit ddf99a3

Browse files
committed
fix clang-tidy
1 parent 5d8c848 commit ddf99a3

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/chart/generator/plotbuilder.cpp

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -525,10 +525,11 @@ void PlotBuilder::addSeparation(const Buckets &subBuckets,
525525
for (auto i = 0U; i < ranges.size(); ++i)
526526
if (anyEnabled[i]) max = max + ranges[i];
527527

528-
auto &axis = plot->getStyle().plot.getAxis(
529-
plot->getOptions()->subAxisType());
530-
auto splitSpace = axis.split->get(max.getMax(),
531-
plot->getStyle().calculatedSize());
528+
auto splitSpace =
529+
plot->getStyle()
530+
.plot.getAxis(plot->getOptions()->subAxisType())
531+
.split->get(max.getMax(),
532+
plot->getStyle().calculatedSize());
532533

533534
for (auto i = 1U; i < ranges.size(); ++i)
534535
ranges[i] = ranges[i] + ranges[i - 1].getMax()

0 commit comments

Comments
 (0)