One day I was in an android studio project where I used NDK, how much I got an error similar to this:
Searching for this error I soon noticed that people only used the virtual keyword in derived or abstract classes, but I soon remembered seeing a virtual function in a class from an unreal engine 4 project that was not overwritten by another class, so using virtual functions in non-derived classes is correct or just ignored by desktop compilers? (Note: I use MSVC, I do not remember this error in g ++ also, android studio uses clang)The class has virtual functions, but does not have a destructor virtual