D1: Error: duplicate union initialization for size

Jacob Carlborg via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Aug 26 23:20:23 PDT 2014


On 23/08/14 19:50, jicman wrote:

> This is line 7634:
>
> const Size DEFAULT_SCALE = { 5, 13 };
>
> What does the error say and how can I fix it?  Thanks.

Does the following make any difference?

const Size DEFAULT_SCAL = Size(5, 13)

-- 
/Jacob Carlborg


More information about the Digitalmars-d-learn mailing list