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

IrtGeo: mark destructor as virtual #462

Merged
merged 2 commits into from
Feb 5, 2023
Merged

IrtGeo: mark destructor as virtual #462

merged 2 commits into from
Feb 5, 2023

Conversation

veprbl
Copy link
Member

@veprbl veprbl commented Feb 4, 2023

src/services/geometry/rich/RichGeo_service.cc:73:18: warning: delete called on 'rich::IrtGeo' that is abstract but has non-virtual destructor [-Wdelete-abstract-non-virtual-dtor]
    if(m_irtGeo) delete m_irtGeo;
                 ^

Briefly, what does this PR introduce?

What kind of change does this PR introduce?

  • Bug fix (issue #__)
  • New feature (issue #__)
  • Documentation update
  • Other: __

Please check if this PR fulfills the following:

  • Tests for the changes have been added
  • Documentation has been added / updated
  • Changes have been communicated to collaborators

Does this PR introduce breaking changes? What changes might users need to make to their code?

No

Does this PR change default behavior?

No

```
src/services/geometry/rich/RichGeo_service.cc:73:18: warning: delete called on 'rich::IrtGeo' that is abstract but has non-virtual destructor [-Wdelete-abstract-non-virtual-dtor]
    if(m_irtGeo) delete m_irtGeo;
                 ^
```
@veprbl veprbl enabled auto-merge (squash) February 5, 2023 03:20
@veprbl veprbl merged commit 686fd83 into main Feb 5, 2023
@veprbl veprbl deleted the pr/irtgeo_virtual_dtor branch February 5, 2023 03:45
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

Successfully merging this pull request may close these issues.

2 participants