Skip to content

Commit

Permalink
To build correctly with gcc 14 (which we now need for the simulator on
Browse files Browse the repository at this point in the history
macos 16), refactor overlay pointer to non-const in ColormapOverlay

- Changed the type of `overlays_` from `Overlay const*` to `Overlay*` in `ColormapOverlay` class to allow modification of overlay entries.
  • Loading branch information
obra committed Dec 4, 2024
1 parent 2e47e7b commit d3e1818
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ class ColormapOverlay : public kaleidoscope::Plugin {

private:
static uint16_t map_base_;
Overlay const *overlays_;
Overlay* overlays_;
uint8_t overlay_count_;
cRGB selectedColor;

Expand Down

0 comments on commit d3e1818

Please sign in to comment.