We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc7b1aa commit 2220d60Copy full SHA for 2220d60
src/chart/generator/marker.cpp
@@ -153,7 +153,7 @@ bool Marker::connectMarkers(bool first,
153
bool polarConnection)
154
{
155
if (prev && next && main && (!first || polarConnection)
156
- && prev->enabled) {
+ && static_cast<bool>(prev->enabled)) {
157
next->prevMainMarker =
158
RelativeMarkerIndex{prev->idx, prev - next};
159
next->polarConnection = polarConnection && first;
0 commit comments