Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#9 missing virtual

closed-invalid
nobody
None
5
2009-01-25
2009-01-18
No

It seems that there are some missing virtual destructors in schat.cpp and keepnick.cpp. The attached patch adds the virtual keyword for the destructors in CKeepNickTimer, CKeepNickMod and CSChatSock.

Discussion

  •  
    Attachments
  • Uhm, what's the problem if those destructors aren't declared virtual?

     
  • Oh, I'm sorry. Those are the destructors in the derived class. There is indeed no problem with that.

     
    • status: open --> closed-invalid