lonkaars / liehjuck

Simple software rasterizer (school project)
3 stars 0 forks source link

Rename internal classes to avoid conflict with redefinitions #11

Closed amieleg closed 4 years ago

amieleg commented 4 years ago

Angry compiler noises when there's no class in front of a member definition with the same name. Code should not look like this:

class foo {
    public:
    class position position;
}

but should instead look like this:

class foo {
    public:
    [new class name here] position;
}
lonkaars commented 4 years ago

Fixed in #12