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

Replace forward declaration of DrawParams with actual declaration #12

Merged
merged 1 commit into from
Apr 6, 2024

Commits on Apr 5, 2024

  1. Replace forward declaration of DrawParams with actual declaration

    Image uses img::DrawParams() as as default argument; however, the constructor for DrawParams isn't available until the full declaration is available (see https://stackoverflow.com/questions/16857425/forward-declaration-of-class-in-c-incomplete-type). This caused an "invalid use of incomplete type 'img::DrawParams'" error with clang. This resolves that issue.
    edelmanjm committed Apr 5, 2024
    Configuration menu
    Copy the full SHA
    aa3a634 View commit details
    Browse the repository at this point in the history