Skip to content

Fix compiler warning 'has virtual functions but non-virtual destructor'#898

Open
fred-wang wants to merge 1 commit intoValveSoftware:masterfrom
fred-wang:virtual-destructor
Open

Fix compiler warning 'has virtual functions but non-virtual destructor'#898
fred-wang wants to merge 1 commit intoValveSoftware:masterfrom
fred-wang:virtual-destructor

Conversation

@fred-wang
Copy link

Compilation currently fails when the corresponding warning is treated as an
error. This commit adds virtual destructors openvr.h with empty implementation
to avoid that warning. They are not made pure virtual so that derived classes
are not forced to implement them.

Compilation currently fails when the corresponding warning is treated as an
error. This commit adds virtual destructors openvr.h with empty implementation
to avoid that warning. They are not made pure virtual so that derived classes
are not forced to implement them.
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.

1 participant