kicad-developers team mailing list archive
Mailing list archive
Re: [Patch] Fix initialization order for COLOR4D statics
On Mon, Aug 05, 2019 at 10:58:44AM +0200, Ian McInerney wrote:
> I tracked it down to the fact that COLOR4D has some static colors that were
> being used to initialize some other static variables in pcbnew's layer
> widgets. I have moved all the static colors to an initialize on first use
> paradigm (so now we just call them like a function, e.g.
> COLOR4D::UNSPECIFIED() ) to fix it.
Can that be solved by constexpr?