Skip to content

Commit 5d8c848

Browse files
committed
fix ut
1 parent 71a61fb commit 5d8c848

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/unit/chart/events.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,7 @@ const static auto tests =
434434
using Axis = Vizzu::Events::Targets::Axis;
435435
for (auto &&[beg, end] = events.equal_range("plot-axis-draw");
436436
const auto &[j, t, l] : values(subrange(beg, end)))
437-
if (!isHorizontal(+static_cast<Axis const &>(*t).axis))
437+
if (!isHorizontal(++static_cast<Axis const &>(*t).axis))
438438
xCenter = std::get<Vizzu::Draw::Line>(l).line.begin.x;
439439

440440
std::set<double> zero_count{};

0 commit comments

Comments
 (0)