From 5c3d64cd9e50d3b5047d0603c6fc8da3b3b87f9d Mon Sep 17 00:00:00 2001 From: epezent Date: Sun, 6 Sep 2020 22:35:44 -0500 Subject: [PATCH] fix compiler warning on GCC --- implot_internal.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/implot_internal.h b/implot_internal.h index f3055a4..757d084 100644 --- a/implot_internal.h +++ b/implot_internal.h @@ -494,8 +494,7 @@ struct ImPlotItemStyle { ImPlotItemStyle() { for (int i = 0; i < 5; ++i) Colors[i] = IMPLOT_AUTO_COL; - LineWeight = MarkerSize = MarkerWeight = FillAlpha = ErrorBarSize = - ErrorBarSize = ErrorBarWeight = DigitalBitHeight = DigitalBitGap = IMPLOT_AUTO; + LineWeight = MarkerSize = MarkerWeight = FillAlpha = ErrorBarSize = ErrorBarWeight = DigitalBitHeight = DigitalBitGap = IMPLOT_AUTO; Marker = IMPLOT_AUTO; } };