Skip to content

Commit 2220d60

Browse files
committed
clang-tidy
1 parent cc7b1aa commit 2220d60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/chart/generator/marker.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ bool Marker::connectMarkers(bool first,
153153
bool polarConnection)
154154
{
155155
if (prev && next && main && (!first || polarConnection)
156-
&& prev->enabled) {
156+
&& static_cast<bool>(prev->enabled)) {
157157
next->prevMainMarker =
158158
RelativeMarkerIndex{prev->idx, prev - next};
159159
next->polarConnection = polarConnection && first;

0 commit comments

Comments
 (0)