Skip to content

Fix Linux reading of older files #468

@rmpowell77

Description

@rmpowell77

Notice that we do this in reading calchart 3.3 sheets (with the older parser):

            auto c = Coord(reader.Get<uint16_t>(), reader.Get<uint16_t>());

There's no guarantee of the execution order of reading the two values here. Should be:

            auto x = reader.Get<uint16_t>();
            auto y = reader.Get<uint16_t>();
            auto c = Coord(x, y);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions