Skip to content

Minor issue with generated implementation for pure virtual functions #61

@hattesen

Description

@hattesen

When an implementation is generated from a pure virtual function declaration, the = 0 is not removed.

This issue is present in C++ Helper, v0.3.1

Current behavior (v0.3.1)

Declaration (header):

virtual char charAt(int row, int col, int tick) = 0;

Generated implementation:

char Decorator::charAt(int row, int col, int tick) = 0
{
    
}

Proposed behavior

Generated implementation (without = 0):

char Decorator::charAt(int row, int col, int tick)
{
    
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions