Home GnuPG
Diffusion GpgOL e58b3e105dd6

Declare destructors of COM objects as virtual
e58b3e105dd6Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

Declare destructors of COM objects as virtual

* src/attached-file-events.h (GpgolAttachedFileEvents),
  src/eventsink.h (BEGIN_EVENT_SINK)
  src/gpgoladdin.h (GpgolRibbonExtender GpgolAddin GpgolAddinFactory),
  src/item-events.h (GpgolItemEvents),
  src/message-events.h (GpgolMessageEvents),
  src/property-sheets.h (GpgolPropertySheets),
  src/session-events.h (GpgolSessionEvents),
  src/user-events.h (GpgolUserEvents): Make dtors virtual.

This fixes compiler warnings about non-virtual dtors
in conjunction with inheriting a COM interface.

Details

Provenance
aheineckeAuthored on Sep 10 2015, 7:11 PM
Parents
rO8c06bc68c3f0: Add comhelp header for common COM definitions
Branches
Unknown
Tags
Unknown