Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tidy: Fix virtual calls from object constructor/destructor.
Clang-tidy complains about a class calling a virtual function from its constructor or destructor. During constructors and destructors virtual functions aren't virtual, calling the function in that class and not any derived class. Add the class name to these calls to eliminate the warning messages. https://clang.llvm.org/extra/clang-tidy/checks/clang-analyzer-optin.cplusplus.VirtualCall.html
- Loading branch information
1 parent
a5aba64
commit bd0291e
Showing
3 changed files
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters