Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor issue with generated implementation for pure virtual functions #61

Open
hattesen opened this issue Nov 22, 2022 · 0 comments
Open

Comments

@hattesen
Copy link

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)
{
    
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant